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

Simple? Tell FMP to open a database?


  • Subject: Simple? Tell FMP to open a database?
  • From: Chap Harrison <email@hidden>
  • Date: Tue, 17 Feb 2004 17:27:19 -0600

Does anyone know how to tell FMP to open a database?

The path to the file is displayed, and appears correct:

"TiChap:Users:chap:Documents:Heronswood DB:WebOrders.fp5"

Thanks, Chap

- - - - -

launch application "FileMaker Pro"
tell application "Finder"
activate application "FileMaker Pro"
end tell

try
foo()
on error bar
tell me to activate
display dialog "Open File command failed: " & bar
end try

on foo()
local woof
set woof to (path to home folder as string) & "Documents:Heronswood
DB:WebOrders.fp5"
try
tell "Filemaker Pro"
open file woof
end tell
on error
error woof

end try
end foo
_______________________________________________
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.

  • Follow-Ups:
    • Re: Simple? Tell FMP to open a database?
      • From: Bill White <email@hidden>
  • Prev by Date: Re: Launching TextEdit with a TEXT document
  • Next by Date: Re: Another address book question
  • Previous by thread: Re: Panther bug: 'missing value' for modification date??
  • Next by thread: Re: Simple? Tell FMP to open a database?
  • Index(es):
    • Date
    • Thread