Hi,
I am on a Mac and I am trying to find out how to find out the location of LiveCode.app.
The LiveCode application will change location frequently so "/Applications/LiveCode.app" will not do.
Any ideas?
Thanks,
Andrew
The location of LiveCode.app
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: The location of LiveCode.app
Hi Andrew,
this is very strange ... mine is still under /Applications but, obviously, under different names, following the release version (LiveCode 5.5.0.app, LiveCode 6.1.0.app, LiveCode 6.1.1.app ... and so on)
Guglielmo
this is very strange ... mine is still under /Applications but, obviously, under different names, following the release version (LiveCode 5.5.0.app, LiveCode 6.1.0.app, LiveCode 6.1.1.app ... and so on)

Guglielmo
Re: The location of LiveCode.app
HI Andrew,
you cannot get this directly but try this:
Tested and works
Hint: This will only work in the IDE!
Best
Klaus
you cannot get this directly but try this:
Code: Select all
function where_is_the_app
put revEnvironmentToolsPath() into tPath
set itemdel to "/"
delete item -2 to -1 of tPath
return tPath
end where_is_the_app

Hint: This will only work in the IDE!
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: The location of LiveCode.app
Hi Klaus,
Thanks! That works well,
Andrew
Thanks! That works well,
Andrew