• 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 not found action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App not found action


  • Subject: Re: App not found action
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 24 Nov 2014 09:34:21 +1100

On 24 Nov 2014, at 8:37 am, Robert Poland <email@hidden> wrote:
>
> Why does’t the try block avoid this

Because try blocks trap errors, and your statement isn't throwing an error.

If the application isn't installed on the other computers, you don't need any of that. Just wrap the call to the application in a try block, and address the application by its id rather than name.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: App not found action
      • From: Robert Poland <email@hidden>
References: 
 >App not found action (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: App not found action
  • Next by Date: Re: App not found action
  • Previous by thread: Re: App not found action
  • Next by thread: Re: App not found action
  • Index(es):
    • Date
    • Thread