Re: tell application "FileMaker Pro/Developer"
Re: tell application "FileMaker Pro/Developer"
- Subject: Re: tell application "FileMaker Pro/Developer"
- From: David Crowe <email@hidden>
- Date: Wed, 3 Sep 2003 11:14:57 -0600
John;
This works, but isn't a completely generic solution because the
"using terms from" still requires the name of an application to be
given to it statically so that it can access the dictionary at
compile time.
- David Crowe
At 11:15 PM +0100 9/2/03, John Delacour wrote:
At 2:58 pm -0600 2/9/03, David Crowe wrote:
tell application "FileMaker Pro" -- which now has to be: tell
application "FileMaker Developer"
I'd like to say something like:
tell application id "FMP5" -- Because File Maker Pro/Developer
5/5.5/6 all have the same id
... but that doesn't seem to work.
Read this carefully -- it's not obvious. I wrote this script with
Eudora Light 1.5.5 running and existing. I then saved and closed the
script window, stuffed Eudora Light 1.5.5 and deleted the original
-- it no longer existed.
tell application "Finder" to name of application file id "CSOm"
set _eudora to application (result as Unicode text)
--> application "Eudora"
using terms from application "Eudora Light 1.5.5"
tell _eudora
get setting 1
end tell
display dialog result
end using terms from
I then reopened the script in SE to see that the fourth line now reads
using terms from application "Eudora"
and the script continues to work. You can do the same thing.
Or you can use Smile, which does the same thing in a different way.
JD
.
_______________________________________________
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.