Re: AppleScript UI for timed override code
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