Page 1 of 1

'Launch' command failing in standalone build

Posted: Fri Jan 04, 2013 2:56 am
by pthirkell
The Launch command (e.g: Launch "TextEdit.app" ) is working fine in IDE but no response in standalone build for Mac -(Intel or universal).

Using LC 5.5.3 on Mac OS X 10.8.2

Any others with similar issue?

Thanks.

Re: 'Launch' command failing in standalone build

Posted: Fri Jan 04, 2013 3:47 am
by Simon
I'm getting the same result.
But:

Code: Select all

set the defaultFolder to "/Applications"
launch "TextEdit.app"
works.


Simon

Re: 'Launch' command failing in standalone build

Posted: Fri Jan 04, 2013 4:48 am
by sturgis
Yep, looks like pathing differs between standalone and within the ide. Setting the defaultfolder solves this, or you can specify the full path.

launch "/Applications/TextEdit.app"

Re: 'Launch' command failing in standalone build

Posted: Tue May 07, 2013 7:06 pm
by andrewferguson
Hi,
This is probably because when LiveCode starts up the defaultFolder is set to the location of LiveCode.app, which is probably /Applications. I think that if you move your standalone application into /Applications then you should find that

Code: Select all

launch "TextEdit.app"
will work.
Alternatively you can set the defaultFolder on openStack.

Code: Select all

set the defaultFolder to "/Applications"
Andrew