Re: [Jmol-users] Console Question

2013-03-10 Thread Otis Rothenberger
Thanks Bob, for some reason I keep forgetting about Jmol.evaluate. Even though I use it all the time. I am having a problem, however. The following works: var jsvar = Jmol.evaluate(jmolApplet0, "2+2");Jmol.setInfo(jmolApplet0, jsvar, true) The following prints ERROR in the "scratchpad" (info ?

Re: [Jmol-users] Console Question

2013-03-10 Thread Robert Hanson
"show smiles" is a command. jmolEvaluate requires an *expression* xxx = JmolEvaluate(jmolApplet0, "script('show smiles')") Bob* * On Sun, Mar 10, 2013 at 10:20 AM, Otis Rothenberger wrote: > Thanks Bob, for some reason I keep forgetting about Jmol.evaluate. Even > though I use it all the time

Re: [Jmol-users] Console Question

2013-03-10 Thread Otis Rothenberger
OK, beautiful. This gives my biochemist colleague everything he wanted: var jsvar = Jmol.evaluate(jmolApplet0, "script('show file')").replace(/(\r\n|[\r\n])/g, "");Jmol.setInfo(jmolApplet0, jsvar, true) Actually, it gives me access to all the "show " in the "scratchpad", or whatever you wa

[Jmol-users] Jmol | lcaocartoon -sp3d Issue

2013-03-10 Thread Michael Evans
Jmol'ers, I am having trouble using lcaocartoon in a very specific case. If you look on this page, the antibonding orbitals render fine: http://butane.chem.illinois.edu/jsmoore/Experimental/DFE.html However, on this updated version of the same page using either JSmol or Jmol 13.0.12, the last ant

Re: [Jmol-users] Console Question

2013-03-10 Thread Otis Rothenberger
Bob, OK, I found it. I have control of this with applet._infoHeader. Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com On Mar 10, 2013, at 2:27 PM, Otis Rothenberger wrote: > OK, beautiful. This gives my biochemist colleague everything he wanted: > > var jsvar = Jmol.evaluate(jm