Re: Simple? Tell FMP to open a database?
Re: Simple? Tell FMP to open a database?
- Subject: Re: Simple? Tell FMP to open a database?
- From: Bill White <email@hidden>
- Date: Tue, 17 Feb 2004 18:58:36 -0500
Chap,
Down in your foo handler, you have:
>
tell "Filemaker Pro"
>
open file woof
>
end tell
You need to add "application" before "FileMaker Pro."
tell application "FileMaker Pro"
open file woof
end tell
Also, just as an observation, this part:
launch application "FileMaker Pro"
tell application "Finder"
activate application "FileMaker Pro"
end tell
...can be replaced by:
tell application "FileMaker Pro" to activate
It could also be left out altogether in the script you posted because
FileMaker will open files in the background; it doesn't have to be
activated.
--Bill
_______________________________________________
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.