Frieda,
 
I was triggering the script from a button, but I had the quit as the first
command in the script.  I took quit out of the script and made it the first
command of the button.  That works just fine with a simple button, but when
I try it with the template which we have been using it does not stop the
animation and the script following the quit does not run.  It seem quit does
not work as designed with the array that is in the template.
 
Karl


>>> Frieda Reichsman <[EMAIL PROTECTED]> 7/31/2007 4:24 PM >>>
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: [EMAIL PROTECTED] 
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
[email protected] 
https://lists.sourceforge.net/lists/listinfo/jmol-users 





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


Frieda Reichsman
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com ( http://www.moleculesinmotion.com/ )


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

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to