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" -- trueHope this helps, Sarah
On Wednesday, March 19, 2003, at 02:43 pm, Roger Guay wrote:
On Tuesday, March 18, 2003, at 05:56 PM, [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
