• 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: Determining if a scripting addition is installed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining if a scripting addition is installed


  • Subject: Re: Determining if a scripting addition is installed
  • From: kai <email@hidden>
  • Date: Fri, 2 Sep 2005 19:13:19 +0100


On 2 Sep 2005, at 17:37, Daniel Jalkut wrote:

Does that work? Assume I have a scripting addition on my machine that supports a command "sneeze loudly"... if I save this script:

try
    sneeze loudly
on error
    display dialog "Ahchoo!"
end

And mail it to you, then does it display a dialog "Ahchoo!" or just fail to run? I can't compile the above script on my machine, because I don't have the sneeze loudly scripting addition.

Any unsupported terms compile as raw code (as they were originally saved). For example, let's say I'm using Jon's Commands and write 'the ticks' in my script. If I open the script on a machine that doesn't have Jon's Commands installed, the statement compiles as «event JonstikC». When the script (or applet) is run, I get an error number -1708 (errAEEventNotHandled) with the message "«script» doesn't understand the «event JonstikC» message".


---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Determining if a scripting addition is installed
      • From: Laine Lee <email@hidden>
    • Re: Determining if a scripting addition is installed
      • From: Christopher Nebel <email@hidden>
References: 
 >Determining if a scripting addition is installed (From: Stephen Jonke <email@hidden>)
 >Re: Determining if a scripting addition is installed (From: Sander Tekelenburg <email@hidden>)
 >Re: Determining if a scripting addition is installed (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: Determining if a scripting addition is installed
  • Next by Date: Path to Disk Image
  • Previous by thread: Re: Determining if a scripting addition is installed
  • Next by thread: Re: Determining if a scripting addition is installed
  • Index(es):
    • Date
    • Thread