• 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: Ehsan Saffari <email@hidden>
  • Date: Thu, 22 Mar 2001 23:32:58 -0600

On Wed, 21 Mar 2001, John W Baxter <email@hidden>, wrote:

>>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

Thank you. That's page 85 of the online PDF version. But things have
changed. Looking at standard additions 1.3.7 that ships with MacOS8.6 in
resedit, there is no 'osax' resource (apparently that has been moved to
the data fork),the 'osiz' res is where one can get clues about the
coercions (CSDS).

cheers
ehsan


  • Prev by Date: (no subject)
  • Next by Date: Re: text file with resource fork
  • Previous by thread: Re: Unloading Coercions
  • Next by thread: Re: Unloading Coercions
  • Index(es):
    • Date
    • Thread