Path to Application AppleScript

Sarah sarahr at
Wed Nov 12 16:52:04 CST 2003

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,

tell application "Finder"
	set theCreator to "MSIE"
	-- this returns "Sarah HD:Applications:Internet"
	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, RGould8 at 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
> use-revolution at

More information about the use-livecode mailing list