• 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
Re: Forcing 'tell app' to use carbon, rather than classic app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Forcing 'tell app' to use carbon, rather than classic app (From: Bill Bug <email@hidden>)

  • Prev by Date: Mail.app/System Events GUI
  • Next by Date: Re: Date Help - D&T stamp w Short dates
  • Previous by thread: Re: Forcing 'tell app' to use carbon, rather than classic app
  • Next by thread: Re: Forcing 'tell app' to use carbon, rather than classic app
  • Index(es):
    • Date
    • Thread