• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running Subroutines from Other Scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Running Subroutines from Other Scripts (From: has <email@hidden>)

  • Prev by Date: Re: [late reply] Re: Parameters for "path to" Command
  • Next by Date: Mac to Linux
  • Previous by thread: Re: Running Subroutines from Other Scripts
  • Next by thread: Re: Running Subroutines from Other Scripts
  • Index(es):
    • Date
    • Thread