Re: Determining if a scripting addition is installed
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