Hi Angel > How about > jmolScript("var myJmolVar = " + myJSvar) > > that would pass the value to the 'myJmolVar' variable in JmolScript. > Or do you need something more complicated that just getting the variable?
This is great! It's exactly what I want and much simpler than I thought. Thanks and have a nice weekend! Yingjie ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users