• 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: Simple? Tell FMP to open a database?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Simple? Tell FMP to open a database? (From: Bill White <email@hidden>)

  • Prev by Date: TextEdit and Unicode
  • Next by Date: Re: UI Scripting Display's Resolution
  • Previous by thread: Re: Simple? Tell FMP to open a database?
  • Next by thread: AppleScript Read file in Filemaker
  • Index(es):
    • Date
    • Thread