Re: non-existant app
Re: non-existant app
- Subject: Re: non-existant app
- From: Shane Stanley <email@hidden>
- Date: Mon, 01 Feb 2010 09:26:48 +1100
- Thread-topic: non-existant app
On 1/2/10 8:36 AM, "Robert Poland" <email@hidden> wrote:
> if the machine does not have Dreamweaver is there a better way to avoid the
> script hunting for a non-existant app?
If you're running 10.5 or later, use the id form, which is probably:
tell application id "com.adobe.dreamweaver"
The release nots: "When running a script, if an application specified by id
is not found, AppleScript will not ask where it is. It will throw an error,
which can be caught using a try block."
--
Shane Stanley <email@hidden>
AppleScript Pro, April 2010, Florida <http://www.applescriptpro.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