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: Chap Harrison <email@hidden>
- Date: Tue, 17 Feb 2004 21:38:53 -0600
Bill,
Thanks. That was indeed the problem (I'm curious what it was thinking
when I left out "application" and it responded that it couldn't convert
"path:name:to:file" to an integer!)
Also thanks for the tip about activate.
Chap
On Feb 17, 2004, at 5:58 PM, Bill White wrote:
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.
_______________________________________________
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.