Thanks,

In the meantime we have discovered that !quit or !exit work, but only if sent as the first script.

We have mistakenly assumed that we need to stop moveto and rotate before !exit or !quit.

PM




On 6/29/2015 10:26 AM, Robert Hanson wrote:
sending the script

!quit

should stop your script.



On Tue, Jun 23, 2015 at 2:00 PM, Pshemak Maslak <n...@psu.edu <mailto:n...@psu.edu>> wrote:

    It looks like my previous post got lost:

    To showcase a crystal structure we have a longish "tour" script
    composed of several moveto, rotate, adding and removing labels,
    changing translucency (stepwise), etc. Our "Tour" button starts
    the cript and toggles to Stop. Unfortunately we are not able to
    stop the tour.

    With set waitForMoveTo False, moveto Stop does work (stops in the
    middle of moveto), but only if the moveto is the last command in
    the script (no other commands after it).

    Rotate (for example rotate 360 -6) does not stop as implied
    inhttp://chemapps.stolaf.edu/jmol/docs/?ver=14.2#rotate
    <http://chemapps.stolaf.edu/jmol/docs/?ver=14.2#rotate>  (under
    x.x y.y).
    A separate "spin off" seems to be needed, Again, it works if
    moveto/rotate are at the end of the script.

    However, if there are other commands after moveto or rotate (for
    example adjusting translucency or adding labels) the script does
    not stop, it continues till the end, even if quit or exit are
    included.

    Additionally, when we use !exit or !quit we are getting: "script
    compiler ERROR: command expected" (version 14.3.14_2015.06.10c)
    when the script is finished running.

    Any suggestions on how to effectively stop unfinished scripts
    would be appreciated,

    PM


    
------------------------------------------------------------------------------
    Monitor 25 network devices or servers for free with OpManager!
    OpManager is web-based network management software that monitors
    network devices and physical & virtual servers, alerts via email & sms
    for fault. Monitor 25 devices for free with no restriction.
    Download now
    http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
    _______________________________________________
    Jmol-users mailing list
    Jmol-users@lists.sourceforge.net
    <mailto:Jmol-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/jmol-users




--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to