Re: Running Subroutines from Other Scripts
Re: Running Subroutines from Other Scripts
- Subject: Re: Running Subroutines from Other Scripts
- From: Steven Angier <email@hidden>
- Date: Sat, 24 Aug 2002 20:37:16 +1000
On 24/8/02 9:17 AM, "has" <email@hidden> wrote:
>
For a standalone ASS-based app, a simple static arrangement is probably best:
>
>
property moduleName : load script (alias "path to module")
>
...
>
>
tell moduleName to doSomething()
It is often simplest to have one attached library, loaded into the current
script's namespace via the parent property:
property parent: load script (alias "path to library")
Some development environments (such as FaceSpan) don't allow this, but
AppleScript Studio does allow it.
>
[1] BTW, I think the next version of ASS may allow multiple scripts in the
>
same app to communicate with one another,
Can anyone confirm this? I have not seen mention of this in the developer
materials.
Steven Angier
Macscript.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.