Can AppleScript Include script files?
Can AppleScript Include script files?
- Subject: Can AppleScript Include script files?
- From: Lists <email@hidden>
- Date: Sun, 9 Jan 2005 10:56:41 -0800
Hi List,
I've got a small contract to do some work on some OS 9 applescripts for
a client. They have about 3 dozen scripts that all have one big chunk
of code in them that is identical. Ideally this could be an included
script file or something along those lines, but the problem is that the
code creates about 40 variables that are needed in each file.
How can I go about using the same code to create the variables and have
them available within the current script?
I've tried run script file, passing the hundred or so parameters and I
get back a list of the variable values, but I still have to set all the
variables again in each script. Not much help.
I've tried load script and put the common code into that file and
again, no luck.
Any help would be greatly appreciated.
Thanks,
Steve
_______________________________________________
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