• 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: Design Report for Scripts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Design Report for Scripts?


  • Subject: Re: Design Report for Scripts?
  • From: Yvan KOENIG <email@hidden>
  • Date: Sat, 21 Nov 2015 16:02:27 +0100

> Le 2015/11/21 à 15:37, S. J. Cunningham <email@hidden> a écrit :
>
>
> On Nov 20, 2015, at 3:59 PM, Stan Cleveland wrote:
>
>> Here are some other syntax issues to keep in mind:
>> 1. As for the "on" keyword, you must also exclude "on idle", "on quit", and "on reopen".
>> 2. Don’t forget about the "on error" that may appear inside a "try" block.
>
> I'm not sure you want to exclude these.  Properties, globals, and locals can appear in them just as well and the rationale for listing them is the same as that for user handlers.
>
> Steve

As far as I know, on error is not the beginning of a handler so there is no reason to extract « error ».
Did you ever try to define a property between on error and end try ?


Yvan KOENIG running El Capitan 10.11.1 in French (VALLAURIS, France) samedi 21 novembre 2015 16:02:22




 _______________________________________________
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: Design Report for Scripts?
      • From: "S. J. Cunningham" <email@hidden>
References: 
 >Design Report for Scripts? (From: "S. J. Cunningham" <email@hidden>)
 >Re: Design Report for Scripts? (From: Yvan KOENIG <email@hidden>)
 >Re: Design Report for Scripts? (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: Re: Design Report for Scripts?
  • Next by Date: Re: Design Report for Scripts?
  • Previous by thread: Re: Design Report for Scripts?
  • Next by thread: Re: Design Report for Scripts?
  • Index(es):
    • Date
    • Thread