AppleScript and Squeak

Anthony Adachi adachipro at yahoo.com
Thu May 1 19:44:35 UTC 2003


Hello

I was perusing the System Browser and came across an
number of AppleScript classes under the
VMConstruction-Applescript category. What are these
for? Are they really only intended to be used by those
maintaining Squeak and who are building the VM?

Reading the source code It seems that one can compile
and execute scripts from within Squeak. How does the
performance of executing such scripts compare to
compiled AppleScripts running in the Finder? With
these or any third party projects can the scripts
within Squeak be pre-compiled (as opposed to compiling
them at run-time) so that they run faster?

In addition, I'm wondering in what capacity is it
possible to communicate with AppleScripts which exist
outside of the Squeak image? 

For instance, as a result of compiling and executing a
script within Squeak, can info be sent back from a
script (or scriptable application) existing outside of
the Squeak image. i.e.- What's the level of
interaction possible? Can results be returned from
calls to individual handlers of a script/script
objects? Or from individual commands or property
access attempts sent to an application?

Moreover, is it possible to script Squeak objects with
AppleScript? Apparently, Apple has implemented hooks
in it's version of Java so that one can script Java
applications. In a similar manner, I was wondering if
it were possible to script Squeak projects or objects
with compiled AppleScripts? In other words,
communicate with the squeak environment from outside
using AppleScript? 

Thanks,

Anthony

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the Squeak-dev mailing list