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: Sander Tekelenburg <email@hidden>
- Date: Sat, 3 Sep 2005 16:05:20 +0200
At 21:42 -0500 UTC, on 2005/09/02, Laine Lee wrote:
[...]
> I understand that the raw code will appear in the script's text in Script
> Editor if the compiled script is opened on a machine where the scripting
> addition is not installed. For that to happen, the script has to first exist
> in its compiled form
No, it does not. You can write raw events and the script will compile. (Of
course there is the practical problem of not being able to test such code for
which you do not have the application or Scripting Addition. But that's a
different issue.)
For example, I once wrote a script[*] that supported 1 email program. Others
wrote code to add support for 2 other email programs. They emailed me their
code in plain text and I just copy&pasted it into the script and compiled it,
even though I didn't have that program. I then distributed the script. It
worked perfectly fine for people using email programs that I myself had never
had installed.
[*] <http://www.euronet.nl/~tekelenb/software/mailURL.html>
--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
_______________________________________________
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