• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Software Installer – Finding the Local Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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}


Hey Shane,

Very nice!

More snippets for the toolbox...

Thank you.

--
Take Care,
Chris

 _______________________________________________
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

References: 
 >Software Installer – Finding the Local Application (From: Christopher Stone <email@hidden>)
 >Re: Software Installer – Finding the Local Application (From: Shane Stanley <email@hidden>)
 >Re: Software Installer – Finding the Local Application (From: Christopher Stone <email@hidden>)
 >Re: Software Installer – Finding the Local Application (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Software Installer – Finding the Local Application
  • Next by Date: How Many People on the ASUL use UI Browser?
  • Previous by thread: Re: Software Installer – Finding the Local Application
  • Next by thread: Applescript Editor → Script Editor
  • Index(es):
    • Date
    • Thread