Re: Forcing 'tell app' to use carbon, rather than classic app
Re: Forcing 'tell app' to use carbon, rather than classic app
- Subject: Re: Forcing 'tell app' to use carbon, rather than classic app
- From: Michael Grant <email@hidden>
- Date: Tue, 07 Jan 2003 16:50:14 -0600
On 1/7/03 9:31 AM, "Bill Bug" <email@hidden> wrote:
>
I tried the naive trick of simply changing the old FMP's name to
>
'FileMaker Pro for Classic'. All that did was change the references in
>
my AS code to 'tell application "FileMaker Pro for Classic"'. When I
>
tried to manually change these references to 'tell application
>
"FileMaker Pro"', so as to force the AS compiler to bind to the proper
>
version of the FMP, the AS compiler simply forced the references back
>
to 'tell application "FileMaker Pro for Classic"'.
There's probably a more elegant way, but try using the full path to the
Carbon version. To make your script portable, store the path in a property
and ask the user to choose the app if the hard-coded path is wrong.
Michael
--
_
| |
_| ~~~
}
\/\ * /
\ |
_______________________________________________
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.