A bug to crash AppleScript Applets
A bug to crash AppleScript Applets
- Subject: A bug to crash AppleScript Applets
- From: Tetsuro Kurita <email@hidden>
- Date: Sat, 20 Aug 2016 18:48:39 +0900
It looks I have met a bug to crash applets.
Please try following script:
use framework "Foundation"
activate of application "Applet"
This script intends to activate an AppleScript applet.
But this script cause to crash the applet and the script ends with the error
number -609.
I have found two way to avoid crashing applets.
(1) remove 'use framework' statement i.e. following script should work:
activate of application "Applet"
(2) use tell statement to send activate event
use framework "Foundation"
tell application "Applet" to activate
Is this problem well known ?
I would appreciate any confirmation.
I this this problem is in the implementation of AppleScript Applet.
Because following script does not raise any problem.
use framework "Foundation"
activate of application "Finder"
=======================================================
Tetsuro KURITA
http://www.script-factory.net/en/
=======================================================
_______________________________________________
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