• 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: Shane Stanley <email@hidden>
  • Date: Thu, 30 Mar 2017 16:46:28 +1100

On 30 Mar 2017, at 4:36 pm, Christopher Stone <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}

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


 _______________________________________________
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

  • Follow-Ups:
    • Re: Software Installer – Finding the Local Application
      • From: Christopher Stone <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>)

  • Prev by Date: Re: Software Installer – Finding the Local Application
  • Next by Date: Re: Software Installer – Finding the Local Application
  • Previous by thread: Re: Software Installer – Finding the Local Application
  • Next by thread: Re: Software Installer – Finding the Local Application
  • Index(es):
    • Date
    • Thread