Re: Running Subroutines from Other Scripts
Re: Running Subroutines from Other Scripts
- Subject: Re: Running Subroutines from Other Scripts
- From: email@hidden (Michael Sullivan)
- Date: Fri, 23 Aug 2002 16:35:01 -0400
- Organization: Society for the Incurably Pompous
Adam Backstrom writes:
>
Hey everyone,
>
>
I'm working on a series of AppleScripts written in AppleScript Studio.
>
For the sake of organization, I would like to split up the code into
>
several scripts. The problem is, I can't find the correct syntax for
>
telling an outside script to run a subroutine. Is this functionality
>
supported?
tell application "Script App1"
launch
handler1()
end tell
"Script App1" must be a stay open applet with a handler named "handler1"
that takes the appropriate arguments (or lack thereof) for this to work.
Michael
--
Michael Sullivan
Business Card Express of CT Thermographers to the Trade
Cheshire, CT email@hidden
_______________________________________________
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.