Perfect, thank you Bob!
If you look at org.jmol.applet.Jmol.java you will find examples of using scriptWait and script:
return viewer.script(script);This does exactly what you are looking for. The return is the result of output going to a String buffer.Bob
On Wed, Feb 6, 2013 at 5:42 PM, N David Brown <firstname.lastname@example.org> wrote:
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
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