• 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: AS does not find Filemaker database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Spaces in shell script paths
  • Next by Date: Re: Error-trapping alias properties
  • Previous by thread: AS does not find Filemaker database
  • Next by thread: RE: 2nd attempt: copying and pasting
  • Index(es):
    • Date
    • Thread