On 11/02/2012 07:18 PM, Angel Herráez wrote:
> Hi Rolf
>
>> "jmolScript(command)" that became "Jmol.script(jmolApplet0, command)").
>
> Exactly that
> There is part of it at the Wiki (ongoing doc)
> http://wiki.jmol.org/index.php/Jmol_JavaScript_Object
>
>
Angel, thanks for the hint. It is quite simple:
------------------------------
var Info = {
        width: 600,
        height: 600,
           ...
         messagecallback: "_jmolMessageCallback"
}
-----------------------------
"_jmolMessageCallback" is my own function that parses the messages from 
Jmol/JSmol

Regards,
Rolf


-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  [email protected]
Website: http://www.fli-leibniz.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to