[Jmol-developers] scripts persisting after quit or exit

2017-04-11 Thread Jeff Sims
Hi all, I’m working on a molecular tutorial that allows you to navigate between multiple scenes, each with different scripted animation in JSmol. I’m finding that quickly jumping between scenes does not always stop scripted animations. I’ve tried calling each of these methods: exit, quit,

Re: [Jmol-developers] scripts persisting after quit or exit

2017-04-17 Thread Jeff Sims
. > On Apr 17, 2017, at 2:55 PM, Jeff Sims <jeffsim...@gmail.com> wrote: > > Thank you, Angel. > > This is very helpful. I believe it solves my problem. > > After some testing, I can simplify the code by setting this one time, when > the applet is created: > >

Re: [Jmol-developers] scripts persisting after quit or exit

2017-04-17 Thread Jeff Sims
Thank you, Angel. This is very helpful. I believe it solves my problem. After some testing, I can simplify the code by setting this one time, when the applet is created: set waitForMoveTo true then do the following before playing any scene: Jmol.script(jmolview1, ‘moveTo stop;’);

[Jmol-developers] scripting syntax

2017-04-28 Thread Jeff Sims
I’m trying to diagnose scripts written a few years ago that are no longer working in the latest version of JSmol. The same scripts work correctly in an older version of JSmol: ver. 14.2.4 (2014-08-03). After updating JSmol, there is no error in the JSmol console, just a blank JSmol canvas (no