Simple? Tell FMP to open a database?
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.