Re: Include Scripts?
Re: Include Scripts?
- Subject: Re: Include Scripts?
- From: Richard Rönnbäck <email@hidden>
- Date: Sun, 19 Jul 2009 20:14:29 +0200
- Thread-topic: Include Scripts?
I think you are looking for "load script". A quick google search gave me
this page which think is fairly straight-forward in it's explanation
http://www.fromconcentratesoftware.com/2006/11/14/as-load-script/
The only thing that may not be obvious is that there is no need for a System
Events tell block, as load script is a standard additions feature and so can
be used in any context
rgds
// Richard
> Från: Frank Renner <email@hidden>
> Datum: Sun, 19 Jul 2009 18:43:12 +0200
> Till: applescript <email@hidden>
> Ämne: Include Scripts?
>
> Hi,
>
> what, if any, is the easiest way to "include" a script that ist
> finally tested and used by many other scripts from all these other
> scripts?
>
> What I want to do is use a database interface (that makes a SOAP
> request to the database) and several "standard" conversion scripts in
> a share of scripts in the Excel scripts folder, each of which will be
> performing a single task and each of which will use the SOAP
> interface. What I don't want to do is copy the interface into every
> single script, so if I might have to change something later on, I
> would have to change quite a lot of scripts.
>
> Any hints where to go?
>
> Thank you,
> Frank Renner
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> sult.se
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden