Page 1 of 1

The location of LiveCode.app

Posted: Thu Sep 12, 2013 1:06 pm
by andrewferguson
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

Re: The location of LiveCode.app

Posted: Thu Sep 12, 2013 5:09 pm
by gpb01
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

Re: The location of LiveCode.app

Posted: Thu Sep 12, 2013 5:22 pm
by Klaus
HI Andrew,

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
Tested and works :D

Hint: This will only work in the IDE!


Best

Klaus

Re: The location of LiveCode.app

Posted: Fri Sep 13, 2013 12:52 pm
by andrewferguson
Hi Klaus,
Thanks! That works well,
Andrew