Thanks, Sarah. You've joined this thread on the second or third revolution. I started with slashes (/) and I've known all along where the application is, but I can't get the Launch Command to work. launch "Macintosh HD/Applications/TextEdit.app" does not work on my OSX 10.2.4 running Revolution 1.1.1. I guess no one else has this problem and I must appear to be a nut case. Oh well!!

Roger

Message: 4
Date: Wed, 19 Mar 2003 15:45:46 +1000
Subject: Re: Launch Command
From: Sarah <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

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, [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

Reply via email to