Re: Running a script library from within Filemaker Pro 6
Re: Running a script library from within Filemaker Pro 6
- Subject: Re: Running a script library from within Filemaker Pro 6
- From: Luther Fuller <email@hidden>
- Date: Wed, 21 May 2008 07:57:49 -0500
On May 20, 2008, at 5:15 PM, Jim Skibbie wrote:
Below might be a better example.
The variable foo is set as a property, but it errors when it is
called as part of the “ThisScript” even though it is defined in the
main script.
I guess my question is mainly regarding variables passing from one
script to the next.
This got me to thinking about something I wrote almost 10 years ago.
Finally found a copy of an old OS 9 script that had been relegated to
a CD-ROM. It's a one-liner within a handler ...
return tell (load script fileAlias) to run
The input is whatever is in 'the result', so the complete handler
might look like this ...
on runScript(fileAlias, input)
get input
return tell (load script fileAlias) to run
end runScript
And my old notes tell me that 'fileAlias' points to a compiled script
(osas).
_______________________________________________
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