Re: hash arrays and other mysteries
Re: hash arrays and other mysteries
- Subject: Re: hash arrays and other mysteries
- From: Arthur J Knapp <email@hidden>
- Date: Thu, 18 Oct 2001 13:57:37 -0400
>
Date: Wed, 17 Oct 2001 18:43:13 +0100
>
From: has <email@hidden>
>
Subject: Re: hash arrays and other mysteries
>
BTW, if you really want to be vanilla about it, you can use Standard
>
Addition's "run script" instead of "do script". But it's much slower for
>
some reason (I don't know why "run script" takes so much longer to compile
>
and run a string of code than Smile's "do script" does). Though seeing the
>
speed difference I think I'll be sticking with Smile myself.
The explanation usually given by those "in the know" is that the
AppleScript compiler has to be invoked during run-time, (rather than
once at compile-time), in order for the "run script" command to do it's
thing. This is where the appearent speed issues associated with "run
script" come from.
>
(I've included the finished vanilla version of the coerceToRecord handler
>
at the end of this mail, and will post it to macscripter later for general
>
consumption.)
It's a shame that you weren't around for postings by Richard 23, I think
the two of you would have an affinity for each other's code:
<
http://homepage.mac.com/richard23/>
(Where is that guy, anyway...?)
>
>> Last but not least, does anyone know if it's possible to bounce between
>
>> using AS and the sparkly new JavaScript OSA within a script?
>
>
>
> You can check out this posting of mine that centers on this basic idea:
>
>
>
> <http://groups.yahoo.com/group/jsosa/message/268>
>
>
Cool. Thanks. I'd actually noticed these boards a couple days ago (strange
>
how _at_least_ half the messages posted there are by one "Arthur J
>
Knapp"...;). I shall go have a proper rummage around as I clearly didn't
>
look hard enough the first time.:)
The ones you should read are by Mark Alldritt. :)
Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden
Hey, check out:
http://www.zavatone.com/