• 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
Scripting in OSX: Classic osaxen for Classic apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting in OSX: Classic osaxen for Classic apps?


  • Subject: Scripting in OSX: Classic osaxen for Classic apps?
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 09 Jun 2001 01:43:34 -0700

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" '). Someone told me it was supposed to work using an
alias filepath to the file of the osax, as in

tell application "Classic App"
using terms from alias "OS 9 HD:System Folder:Scripting
Additions:Jon's Commands"
-- code here
end
end

but it won't compile , not even hardcoded with my real file path. (I have a
routine worked out that would get the script to compile on any OS 8/9 or
Classic OS, but I haven't been able to get the initial script to compile. It
errors hat the file can't be found. This same error also occurs if I write:

set f to "OS 9 HD:System Folder:Scripting Additions:Jon's Commands"

Have I made a stupid mistake, or is this a bug?

--
Paul Berkowitz


  • Follow-Ups:
    • Re: Scripting in OSX: Classic osaxen for Classic apps?
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: [mac os x] count of messages from mail
  • Next by Date: Re: Converting a nested list to return delimited string with TIDs
  • Previous by thread: Re: [mac os x] count of messages from mail
  • Next by thread: Re: Scripting in OSX: Classic osaxen for Classic apps?
  • Index(es):
    • Date
    • Thread