Hi Karl,

Are you triggering the scripts from a button? I usually put "quit;" as the first command of the *button* and then follow that with the script call, like this:

jmolButton("quit; script myscript.spt" )

HTH,
Frieda

On Jul 31, 2007, at 2:37 PM, Karl Oberholser wrote:

Hi All,
I have some scripts that run an animation, and I would like the animation to be stopped if the next script is run.  I have tried using quit as the first command in the next script, but the animation is not stopped. The quit command seem to be not working.  I am using version 11.3.4.
 
 
 
Karl M. Oberholser, Ph.D.         Phone:
Professor of Chemistry                 Voice: 717-766-0512
Chemistry & Biochemistry Dept.   Fax: 717-691-6046
Messiah College                        e-mail: oberhols@messiah.edu
P.O. Box 3049                      
One College Avenue
Grantham, Pa 17027
                      
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users



///////////////////////////////////////////


Frieda Reichsman

Molecules in Motion

Interactive Molecular Structures

http://www.moleculesinmotion.com


///////////////////////////////////////////