On Mon, January 30, 2012 18:04, Robert Hanson wrote: > show state/"set spin" which will give you just one line to parse. Very nice! I did not know that.
On Mon, January 30, 2012 17:13, Paul Pillot wrote: > You can find ressources here : > http://chemapps.stolaf.edu/jmol/docs/#jmolmathread-onlyvariables This was very powerful documentation. Google did not get me to it. It lead told me about another feature that seems even more powerful than the "readonly variables" (the real name for what I called state variables in my last post). It appears that I can use jmolGetPropertyAs.... in the javascript interface to get anything that is in the list of readonly variables plus about 300 more variables that are not exposed as readonly variables. Am I reading the documentation correctly? For a javascript programmer, isn't that a much better interface than echoing a readonly variable in a script call and waiting to pick up the retuened value in the messageCallback? ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users