Re: tell application "FileMaker Pro/Developer"
Re: tell application "FileMaker Pro/Developer"
- Subject: Re: tell application "FileMaker Pro/Developer"
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 02 Sep 2003 15:07:24 -0700
On 9/2/03 1:58 PM, "David Crowe" <email@hidden> wrote:
>
I'm starting to upgrade from FileMaker Pro 5.5 to Developer 6 (and
>
I'm sure y'all don't care).
>
>
But, this breaks all the many places I say:
>
>
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.
>
>
And, I know if I put the name of the application in a variable and go:
>
tell application theApplicationName
>
>
it doesn't work well, because AppleScript likes to get the dictionary
>
at compile time, and can't figure it out in this case.
>
>
I'm sure someone has a nice solution to this problem and could save
>
me hours of struggles!
tell app "Finder" to set fmpAppPath to application file id "FMP5" as Unicode
text
using terms from application "FileMaker Developer" -- or the one that's open
as you're compiling
tell application fmpAppPath
--script here
end tell
end using terms from
--
Paul Berkowitz
_______________________________________________
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.