• 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
A bug to crash AppleScript Applets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: A bug to crash AppleScript Applets
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Making a list from external data
  • Next by Date: Re: A bug to crash AppleScript Applets
  • Previous by thread: Re: Making a list from external data
  • Next by thread: Re: A bug to crash AppleScript Applets
  • Index(es):
    • Date
    • Thread