FileMaker "do script"
FileMaker "do script"
- Subject: FileMaker "do script"
- From: David Crowe <email@hidden>
- Date: Fri, 20 Jun 2008 08:53:53 -0600
It seems to me that FileMaker (8.0v2) will only execute a script in
the frontmost window. If you say <<tell database "MyDatabase" to do
script "MyScript">> this will fail unless "MyDatabase" happens to be
frontmost.
FileMaker's documentation implies this, because their example is:
tell application "FileMaker Pro"
do script FileMaker script 1 -- the first script
do script last FileMaker script -- the last script
do script FileMaker script ¬
"Print Sales Report" -- a script by its name
do script FileMaker script after ¬
FileMaker script 1 -- the second script
do script FileMaker script before ¬
FileMaker script 3
-- the second script
do script (every FileMaker script ¬
whose name begins with "aName") -- all scripts meeting a test
end tell
If my intuition is correct, this is really annoying because it makes
the script very intrusive, unable to truly run in the background.
Perhaps I can just make the database come to the front of all the
FileMaker tables without making FileMaker active, but that's still
intrusive if I'm using FileMaker for something else.
- David
_______________________________________________
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