• 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: Unloading Coercions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unloading Coercions


  • Subject: Re: Unloading Coercions
  • From: John W Baxter <email@hidden>
  • Date: Wed, 21 Mar 2001 20:39:04 -0800

>Hi
>
>If after a reboot OSAXen that install coercions are removed from the
>Scripting Additions folder and a script is recompiled, does that make the
>script no longer use the coercions?
>
>Also, does there exist a method to determine what coercions an OSAX
>installs?

Look at (a copy of) the Scripting Addition file in ResEdit. Look at the
names of the 'osax' resources.

The event handler names start with AEVT (and continue with the event class
and event id).

The two kinds of coercions have names starting with CSDS or CSPT (the
difference can be ignored except by those writing the things, and those
calling them other than by writing AppleScript statements which trigger
them). The from and to types follow--four bytes each...so a CSDS sort of
coercion from TEXT to magn would be named
CSDSTEXTmagn
[magn is an unsigned 4 byte number...used by things other than AppleScript].

Page 87 of the original printed AppleSript Scripting Additions Guide...I
don't know what page it may have moved to in the currently online version.

--John
--
John Baxter email@hidden Port Ludlow, WA, USA


  • Prev by Date: Creating folders (directories) without the Finder
  • Next by Date: Re: Creating folders (directories) without the Finder
  • Previous by thread: Unloading Coercions
  • Next by thread: Re: Unloading Coercions
  • Index(es):
    • Date
    • Thread