El 19 Oct 2011 a las 18:25, Rolf Huehne escribió:
> Angel, I thought 'jmolEvaluate' would always wait for the result 
before 
> the javascript like 'jmolGetPropertyAsString'.

You will know better than me, Rolf

It's only that parallel processing is so often a problem with 
combining JmolScript and JavaScript, I thought it could be that.

Latest post from Martin suggests that this is not the issue, since 
just writing to the text area is not working for him either.


> It seems as if the "select *" doesn't work with 'jmolEvaluate'. 
> 'write("PDB")' alone does work for me.

I have little if any experience with evaluate, but that doesn't sound 
expected. The issue (why Bob put it there) is that if the user or a 
script have selected part of the model, only that part will be saved 
unless you first select all.

So, maybe as an alternative,

jmolScript('select *;')
document.getElementById("data").value = jmolEvaluate('write("PDB")')

Weird!



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to