This is going to give horrible line wrap problems :-) but it works (Mac OS 10.3.1).
Set the creator ID in the second line (you could have Revolution insert a variable in there). Then there is a blank line, a comment line to show the format of the result, then the line that actually does the work, starting with "set theApp" and ending with the second "as string)". That is all on one line.
Then there is another blank line before the "return" and the "end tell"


Hope this helps,
Sarah


tell application "Finder"
set theCreator to "MSIE"

-- this returns "Sarah HD:Applications:Internet Explorer.app"
set theApp to (container of application file id theCreator as string) & (name of application file id theCreator as string)

return theApp
end tell


On 13 Nov 2003, at 8:14 am, [EMAIL PROTECTED] wrote:

Does anyone know if there's a way via Applescript to find the path to an
application in Mac OS X? Something like "find app with creatorID "MSIE" or
something like that? What I'm trying to avoid is having the user try to find out
where their apps are located. I'd like Revolution to figure that out for them.
_______________________________________________
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

Reply via email to