Re: [Jmol-users] Jmol Variables

2010-11-25 Thread Otis Rothenberger
Rolf, Print works. Thanks for the suggestion. Otis Otis Rothenberger chemagic.com > Couldn't you use 'print @foo' instead of the two 'echo' commands, > avoiding to show something in the Jmol window the user isn't supposed to > see there anyway? Or is there a problem with 'print' in this cont

Re: [Jmol-users] Jmol Variables

2010-11-25 Thread Rolf Huehne
On 11/25/2010 05:17 PM, Otis Rothenberger wrote: > Thanks Alexander (and Bob). What a neat trick! > > Just for the record, my context was a Jmol variable, etv, that was set > in a JavaScript loop that used Jmol FIND to locate a SMILES in a > JavaScript array. A subsequent: > > jmolScriptWa

Re: [Jmol-users] Jmol Variables

2010-11-25 Thread Otis Rothenberger
Thanks Alexander (and Bob). What a neat trick! Just for the record, my context was a Jmol variable, etv, that was set in a JavaScript loop that used Jmol FIND to locate a SMILES in a JavaScript array. A subsequent: jmolScriptWait('var foo = etv;'); msg = jmolEvaluate("script('echo @foo;ec

Re: [Jmol-users] obj surface files exported from pymol

2010-11-25 Thread Alexander Rose
- Ursprüngliche Mail - > Von: r...@ellerbach.com > An: jmol-users@lists.sourceforge.net > Gesendet: Mittwoch, 24. November 2010 16:26:39 > Betreff: Re: [Jmol-users] obj surface files exported from pymol > On Wed, November 24, 2010 10:17 am, Alexander Rose wrote: > > Manipulating the pdb f

Re: [Jmol-users] Jmol Variables

2010-11-25 Thread Alexander Rose
Hi, Bob recently showed me you can use script with evaluate, i.e. jmolScriptWait('var foo = "bar";'); var msg = jmolEvaluate( "script('echo @foo');" ); console.log(msg); this should print 'bar' to your browser console Best Alex - Ursprüngliche Mail - > Von: "Otis Rothenberger" > An:

Re: [Jmol-users] Jmol on French TV :)

2010-11-25 Thread Van der Lee
Nicolas Vervelle wrote the following on 24/11/2010 21:39: > A French medical TV show has just used a picture of THC rendered with > Jmol for a few seconds. > Not much, but that's still nice to know. > > Credits are at the end 24:45 with the address of Jmol website. > Didn't have the time to write