If you want to automatically close or bypass the new window why have it there in the first place? also I don't see the need for AppleScript here. Why not create a script to run on first window open?
When FileMaker 13 opens it has a "Open New or Existing Window" dialog that needs to be closed
Are you opening the database file by double clicking it directly ( or clicking it in the Dock) or are you opening the FileMaker Application?
I'm not a current Mac user so maybe I am misunderstanding, but this sounds like you are opening the application instead of the database file created by that application.
The reason for the Applescript is I need to schedule this script to fire off every morning at 6am. I can't use Server because one of the script steps is not supported on PSOS.
Basically I an running a script every morning to email out reports.
This process requires no user interaction.
Phil- Applescript is kinda like shell scripting on a pc.. but more powerful. :)
Here is the full script in Automator..
tell application "FileMaker Pro"
do script "Generate Employee Time Report By TimeApprover and Email"