re: AS does not find Filemaker database
re: AS does not find Filemaker database
- Subject: re: AS does not find Filemaker database
- From: David Crowe <email@hidden>
- Date: Thu, 28 Mar 2002 12:59:34 -0700
There are alternatives to using the 'database' object type.
The following AppleScript code works for me (Mac OS 9.2.2, but still
FileMaker 5.0).
if not (exists database "Links") then
open file "Links" in databases_folder
tell window "Links"
do script FileMaker script "Export HTML"
close window "Links"
end tell
else
tell window "Links"
do script FileMaker script "Export HTML"
end tell
end if
Note that it uses 'open file' and relies on the database being at the
front. If the database is open already it uses 'window' instead of
database.
- 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.