On 10/19/2011 07:06 PM, Angel Herráez wrote:
> 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")')
>
But then timing will very likely become a problem. So it should rather 
be "jmolScriptWait('select *;')" or a more complicated solution to make 
sure the selection is completed before the coordinates are written.

Regards,
Rolf

------------------------------------------------------------------------------
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