Launch Command
Sarah
sarahr at genesearch.com.au
Tue Mar 18 19:49:00 EST 2003
In order to be consistent across all platforms, Revolution uses a slash
"/" as the delimiter for file paths, in your case over-riding the
normal Mac colon ":".
Now that you have located the application, I think the following should
work:
launch "Macintosh HD/Applications/TextEdit.app" (Rev 1.1.1)
or launch "/Applications/TextEdit.app" (Rev 2.0)
Note that because of the peculiar nature of OS X application bundles,
checking for the existence of a file will fail. Check instead for a
folder if you are looking for an application.
e.g. there is a file "Macintosh HD/Applications/TextEdit.app" -- false
there is a folder "Macintosh HD/Applications/TextEdit.app" -- true
Hope this helps,
Sarah
On Wednesday, March 19, 2003, at 02:43 pm, Roger Guay wrote:
>
> On Tuesday, March 18, 2003, at 05:56 PM,
> use-revolution-request at lists.runrev.com wrote:
>
>> do "choose file" as applescript
>> put the result
>
> Ok, At least I can get the result: "Macintosh
> HD:Applications:TextEdit.app:"
>
> If I then type:
>
> launch "Macintosh HD:Applications:TextEdit.app:"
>
> into the message box, I get error-35. What the heck is going on???
>
> Thanks, Roger
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list