Finding the LiveCode executable
devin_asay at byu.edu
Wed Feb 16 13:18:32 EST 2011
I have a standalone from which I want to launch a stack in the LiveCode IDE. Most of the time the 'launch document' command works perfectly for this. But if the user has not associated the .rev or .livecode extension with an application, (or if there is a Windows registry problem) this method fails. As a backup I can attempt a launch <path to application> command, but that only works if you know, well, the path to the LiveCode .app on mac or the .exe on Windows. Now it's fairly simple to discover the default install locations, but what if the user has installed LC in a non-standard location? Is there a reliable way across platforms to discover where LiveCode[version].app (Mac), LiveCode.exe (Win), or the LiveCode executable (Linux) is installed?
Humanities Technology and Research Support Center
Brigham Young University
More information about the Use-livecode