Re: Can AppleScript Include script files?
Re: Can AppleScript Include script files?
- Subject: Re: Can AppleScript Include script files?
- From: Emmanuel <email@hidden>
- Date: Mon, 10 Jan 2005 19:10:50 +0100
At 4:04 PM +0000 1/10/05, has wrote:
Steve wrote:
I've tried load script and put the common code into that file and
again, no luck.
This is the usual way to do it: load the library script into a
property and access its properties and handlers there, e.g.:
property _MyLib : load script (alias "path:to:script")
_MyLib's someVar
_MyLib's doSomething()
If you work with Smile, using libraries can be much easier than without.
Check Smile at:
<http://www.satimage-software.com>
and see about using libraries in Smile at:
<http://www.satimage.fr/software/en/libraries.html>
Emmanuel
From Satimage-software, the authors of Smile.
_______________________________________________
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