• 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 a script library from within Filemaker Pro 6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Re: Running a script library from within Filemaker Pro 6 (From: Jim Skibbie <email@hidden>)

  • Prev by Date: Re: Rép: reading a property list item
  • Next by Date: Rename nested folders
  • Previous by thread: Re: Running a script library from within Filemaker Pro 6
  • Next by thread: address book problem...
  • Index(es):
    • Date
    • Thread