somehow this got separated into two threads, I think. See previous message.
jmolEvaluate('select ....') will fail with an error. You need

jmolScriptWait("select *")

followed by

..... jmolEvaluate("write('PDB')")



On Wed, Oct 19, 2011 at 10:57 AM, Martin Hediger <[email protected]> wrote:

> No issue, I guess this is what Bob Hanson suggested in his last mail:
>
> document.getElementById("data").value = jmolEvaluate('select
> *;write("PDB")')
>
> I'm using it, but as I said, the problem is that the coordinates dont
> even get written to the textarea.
> Still hoping to find a solution.
>
> Martin
>
>
>
> Am 19.10.11 17:32, schrieb Angel Herráez:
> > Sorry, I was wrong. There is indeed a write() function that can be
> > used to output coordinates data to a variable instead of a file.
> >
> > See
> > http://chemapps.stolaf.edu/jmol/docs/#functions
> > and go down until you find
> >    x = write(...)
> >
> >
> > El 18 Oct 2011 a las 14:16, Angel Herráez escribió:
> >
> >> Hello, Martin
> >>
> >> The syntax has never been write("whatever").
> >
> >
> ------------------------------------------------------------------------------
> > 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
> >
>
>
>
> ------------------------------------------------------------------------------
> 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
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to