• 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: non-existant app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: non-existant app


  • Subject: Re: non-existant app
  • From: Robert Poland <email@hidden>
  • Date: Sun, 31 Jan 2010 17:17:51 -0700

Thanks Shane,

On OS 10.6.2, that, when compiling, gives me the error Can't get application  id "com.adobe.dreamweaver".


On Jan 31, 2010, at 3:26 PM, Shane Stanley wrote:

> 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>



Bob Poland - Fort Collins, CO



 _______________________________________________
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: non-existant app
      • From: Shane Stanley <email@hidden>
References: 
 >Re: non-existant app (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Organizing mail into mail folders with Applescript?
  • Next by Date: Re: non-existant app
  • Previous by thread: Re: non-existant app
  • Next by thread: Re: non-existant app
  • Index(es):
    • Date
    • Thread