Re: How to determine what application to launch?
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