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.
'Launch' command failing in standalone build
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: 'Launch' command failing in standalone build
I'm getting the same result.
But:
works.
Simon
But:
Code: Select all
set the defaultFolder to "/Applications"
launch "TextEdit.app"
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: 'Launch' command failing in standalone build
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"
launch "/Applications/TextEdit.app"
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: 'Launch' command failing in standalone build
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 will work.
Alternatively you can set the defaultFolder on openStack.
Andrew
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"
Alternatively you can set the defaultFolder on openStack.
Code: Select all
set the defaultFolder to "/Applications"