• 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: AppleScript UI for timed override code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript UI for timed override code


  • Subject: Re: AppleScript UI for timed override code
  • From: Barry Wainwright <email@hidden>
  • Date: Fri, 05 Apr 2019 09:52:27 +0100
  • Embedded-html: [{"HTML":[818, 4411], "plain":[422, 2584], "uuid":"E6189F78-A4E9-4006-90A4-342385447D3E"}]

“Cancel” is a special case.

If you have a button named “Cancel” it is intercepted by the system and generates a higher level cancel code (error code -128, from memory, but memory may be fallible!) which aborts the script.

To get round this I used to rename the button as “Abort”. Any other name, apart from cancel, will return the operation to the script.

On 5 Apr 2019, at 8:07, Takaaki Naganoya wrote:

_______________________________________________
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

 _______________________________________________
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: AppleScript UI for timed override code
      • From: Takaaki Naganoya <email@hidden>
    • Re: AppleScript UI for timed override code
      • From: Shane Stanley <email@hidden>
References: 
 >AppleScript UI for timed override code (From: "LaMantia, Brian" <email@hidden>)
 >Re: AppleScript UI for timed override code (From: Takaaki Naganoya <email@hidden>)

  • Prev by Date: Re: AppleScript UI for timed override code
  • Next by Date: Re: AppleScript UI for timed override code
  • Previous by thread: Re: AppleScript UI for timed override code
  • Next by thread: Re: AppleScript UI for timed override code
  • Index(es):
    • Date
    • Thread