Re: Scripting Additions
Re: Scripting Additions
- Subject: Re: Scripting Additions
- From: "Marc K. Myers" <email@hidden>
- Date: Wed, 24 Jan 2001 20:37:04 -0500
- Organization: [very little]
Emmanuel wrote:
>
Date: Wed, 24 Jan 2001 20:38:13 +0100
>
To: Applescript Users <email@hidden>
>
From: Emmanuel <email@hidden>
>
Subject: Re: Scripting Additions
>
>
At 17:29 +0100 24/01/01, carver wrote:
>
>Is it true that an applescript that uses commands from scripting additions
>
>will always error when run on another computer that doesn't have the
>
>necessary scripting additions?
>
>
Yes - though the script may trap the error, thus hiding it from the user.
>
>
I think the error should be number -1708 ("..." does not understand
>
"<<event WhatEver>>).
If there are alternative ways of performing the same actions or the
processes performed by the scripting additions are optional, you can
test for their presence in the Scripting Additions folder and bypass
their logic or use alternative routines. If you don't execute the
commands of the scripting addition you won't get an error. (But they'll
look funny if you try to look at the script. They'll show as raw apple events.)
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[1/24/01 8:36:28 PM]