Re: Scripting in OSX: Classic osaxen for Classic apps?
Re: Scripting in OSX: Classic osaxen for Classic apps?
- Subject: Re: Scripting in OSX: Classic osaxen for Classic apps?
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 09 Jun 2001 06:23:38 -0400
on 6/9/01 4:43 AM, Paul Berkowitz at email@hidden wrote:
>
According to a page in the Help for OS X, you're supposed to be able to
>
compile scripts in the OS X Script Editor which refer to classic scripting
>
additions (for Classic or OS 8/9 use, of course) by enclosing the osax terms
>
in a 'using terms from' construction, then wrapping that in a tell block to
>
a classic app.
>
>
Except that 'using terms from' is meant to take an application reference,
>
and osaxen are not applications (it won't compile if you try with
>
'application "osaxName" ').
I pointed this out in my report on AppleScript in Mac OS X. I have no
solution. I brought it up with Chris Nebel privately at the time, but it got
lost in our other communications about Mac OS X. My assumption is that the
note in Apple Help is just wrong -- it works with scripting additions that
take the form of background applications, not otherwise.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
The AppleScript Sourcebook - www.AppleScriptSourcebook.com
Vermont Recipes - www.stepwise.com/Articles/VermontRecipes