• 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: App launch help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App launch help


  • Subject: Re: App launch help
  • From: Ted Wrigley <email@hidden>
  • Date: Sun, 05 Oct 2014 11:17:30 -0700


On Oct 5, 2014, at 10:54 AM, email@hidden wrote:

I have two versions of FileMaker Pro - Version 11 and version 12

– the official name for both of these is the same in the applications folder - "FileMaker Pro"

I need the apple script to load version 12 but it keeps opening version 11.


Applescript should open the the most current version, assuming that version 12 has been opened at least once on the system. If that’s not what’s happening you probably need to reset the launch services database:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user”

If you really need to specify a particular version of the app, you can replace the application name with the full path of the application, e.g.

tell application “/Applications/FileMaker Pro 12/FileMaker Pro.app"
activate
set isFileMakerReady to true
--say "go"
end tell

 _______________________________________________
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

  • Prev by Date: Re: Setting Finder Column width
  • Next by Date: Re: Setting Finder Column width
  • Previous by thread: Re: App launch help
  • Next by thread: Library Confusion
  • Index(es):
    • Date
    • Thread