Re: Software Installer – Finding the Local Application
Re: Software Installer – Finding the Local Application
- Subject: Re: Software Installer – Finding the Local Application
- From: Christopher Stone <email@hidden>
- Date: Thu, 30 Mar 2017 01:16:03 -0500
On 03/30/2017, at 00:46, Shane Stanley <email@hidden> wrote:
I really need to use the kMDItemCFBundleIdentifier rather than the app-name.
OK:
set ws to current application's NSWorkspace's sharedWorkspace() set appURL to ws's URLForApplicationWithBundleIdentifier:appBundleID ws's activateFileViewerSelectingURLs:{appURL}
Very nice!
More snippets for the toolbox...
Thank you.
|
_______________________________________________
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