I mean:
or in JmolJSO:
var x = Jmol.evaluate(appletName, "write('pdb')")
On Mon, Nov 19, 2012 at 8:35 PM, Robert Hanson <[email protected]> wrote:
> oh,
> from javascript:
>
> var x = jmolEvaluate("write('pdb')")
>
> or in JmolJSO:
>
> var x = Jmol.evaluate("write('pdb')")
>
>
>
>
>
> On Mon, Nov 19, 2012 at 6:51 PM, 陈文瀚 <[email protected]> wrote:
>
>> The thing is I can # var x = write("pdb") #, but this x persists in
>> the scope of jmol script.
>>
>> How can I export x to a js variable so that I can alert it later?
>>
>> _________________________________
>> Wenhan Chen
>> School of Chemistry and Molecular Biosciences
>> The University of Queensland
>>
>>
>>
>>
>>
>> 2012/11/20 Robert Hanson <[email protected]>
>>
>>> What about
>>>
>>> Var x = write("pdb")
>>>
>>> ?
>>>
>>>
>>> On Sun, Nov 18, 2012 at 6:42 AM, 陈文瀚 <[email protected]> wrote:
>>>
>>>> Hey, guys
>>>>
>>>> I am have this problem of extracting the structure info from Jmol into
>>>> a javascript variable rather than exporting the infomation into a PDB File.
>>>> Using getProperties funtion I can only get a string of structure info in a
>>>> almost MOL format. I have been searching all through the manul as well as
>>>> the new features provided. Any of u met the same problem? I am really in
>>>> need of help.
>>>>
>>>> Jack
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Monitor your physical, virtual and cloud infrastructure from a single
>>>> web console. Get in-depth insight into apps, servers, databases, vmware,
>>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>>>> Pricing starts from $795 for 25 servers or applications!
>>>> http://p.sf.net/sfu/zoho_dev2dev_nov
>>>> _______________________________________________
>>>> Jmol-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Robert M. Hanson
>>> Larson-Anderson Professor of Chemistry
>>> Chair, Chemistry Department
>>> St. Olaf College
>>> Northfield, MN
>>> http://www.stolaf.edu/people/hansonr
>>>
>>>
>>> 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
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Monitor your physical, virtual and cloud infrastructure from a single
>>> web console. Get in-depth insight into apps, servers, databases, vmware,
>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>>> Pricing starts from $795 for 25 servers or applications!
>>> http://p.sf.net/sfu/zoho_dev2dev_nov
>>> _______________________________________________
>>> Jmol-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Chemistry Department
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
>
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
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
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users