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: Sat, 30 Aug 2008 14:23:30 -0700
On Aug 30, 2008, at 2:04 PM, Jerry Krinock wrote: Is there any way to get the path to an application in AppleScript without launching it?
The following one-liner:
set targetAppPath to path to application "Safari"
gives the right answer but will LAUNCH Safari if it is not running. I don't want the target app to launch.
Dawg slow:
do shell script "mdfind kMDItemFSName == 'Safari.app'"
Philip Aker
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