• 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: Christopher Nebel <email@hidden>
  • Date: Fri, 2 Sep 2005 12:10:49 -0700

On Sep 2, 2005, at 11:13 AM, kai wrote:

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".

The command *de*compiles (or displays, if you prefer) as raw codes on a system that does not have the addition installed, but otherwise, correct.



--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
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: kai <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>)
 >Re: Determining if a scripting addition is installed (From: kai <email@hidden>)

  • Prev by Date: Re: How to determine whether launched automatically at login
  • Next by Date: Re: How to determine whether launched automatically at login
  • 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