• 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: How to determine what application to launch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to determine what application to launch?


  • Subject: Re: How to determine what application to launch?
  • From: Emmanuel <email@hidden>
  • Date: Tue, 25 Sep 2001 15:10:08 +0200

At 9:41 +0200 25/09/01, Oleg Lodygensky wrote:

>In my case, CodeWarrior 6.0 provides "CodeWarrior IDE 4.0" but name changes
>to "CodeWarrior IDE 4.0.1.3" if user has installed patches; how to manage
>this whithout any OsaXen?

Find the app by its signature.

1. To find out what the signature is, launch the app, then run (from any
script editor):

------------------- untested
tell app "Finder" to set theSig creator type of process "CodeWarrior IDE 4.0"
-------------------

2. To find out the path of the app, given its signature:

------------------- untested
tell app "Finder" to set thePath to (application file theSig as text)
-------------------

3. To launch the app, there are several ways, including:

------------------- untested
tell app "Finder" to open (or launch, or run) alias thePath
-------------------

HTH
Emmanuel


References: 
 >How to determine what application to launch? (From: Oleg Lodygensky <email@hidden>)

  • Prev by Date: RE: Debugging folder action scripts
  • Next by Date: Displaying AppleScript Menus/Dialogs
  • Previous by thread: How to determine what application to launch?
  • Next by thread: Re: How to determine what application to launch?
  • Index(es):
    • Date
    • Thread