[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applescript and MCL 2.0



Hi:

	I'm trying to get an applescript to talk to MCL 2.0, and would really
appreciate any information from someone knowledgeable in this matter.

	Suppose I startup MCL and then load the appleevents-toolkit and the
eval-server. What is the syntax of the applescript statement(s) that would
enable me to, say, (eval (+ 2 2))? In other words, I have an Applescript that
says something like:

tell application "MCL 2.0"
     ?????
end tell

Please note that if I write an applescript such as the following:

tell application "MCL 2.0"
     quit
end tell

It does work properly, i.e. the MCL application quits.

I've tried different variants of the eval message, but mostly I get an error
message to the effect that MCL doesn't understand the message.

I'd appreciate any information in this matter. Please email this information
to me directly, as I'm not a member of this mailing list. This avenue was
recommended to me by a member of Digitool's support staff.

Thanks,

Vishal.

***********************************************************************
Vishal Sikka                                     vishal@cs.stanford.edu
The Logic Group                                     Phone: 415-725-2602
Computer Science Department                           Fax: 415-725-7411
Stanford University                                Stanford, CA - 94305
           Web: http://logic.stanford.edu/People/vishal.html
***********************************************************************