Scope of Properties when using AppleScript from FileMaker...
Scope of Properties when using AppleScript from FileMaker...
- Subject: Scope of Properties when using AppleScript from FileMaker...
- From: David Crowe <email@hidden>
- Date: Mon, 29 Mar 2004 09:38:29 -0700
Regarding my previous email relating to problems with a "property"
not retaining its updated value when called from FileMaker, the
situation appears to be that if FileMaker is provided with a static
text string for AppleScript, then it is compiled once, and the
properties of this applescript persist until the string is changed.
If the other option allowed by FileMaker is chosen, creating an
AppleScript as a text calculation and assigning it to a field,
FileMaker compiles the code every time. This includes any other
scripts stored in files -- their properties are not persistent if
this method is used.
Fixing this was simple for me, I just stored the data in FileMaker
fields, and extract it when needed. This allows the AppleScripts to
operate without any persistent context.
- David Crowe
_______________________________________________
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.