Re: Get path to app without launching it
Re: Get path to app without launching it
- Subject: Re: Get path to app without launching it
- From: Philip Aker <email@hidden>
- Date: Sun, 31 Aug 2008 03:32:22 -0700
On Aug 30, 2008, at 3:37 PM, Joseph Weaks wrote:
It's not as difficult as some are making out.
If using Finder, getting the application alias by file id doesn't
launch it. Try:
tell application "Finder" to set targetAppPath to (application file
id "com.apple.safari") as string
Certainly dusts 'mdfind' for this purpose.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden