This is working in my hands. Not sure what that problem is.No need for "!"
I believe.Just "pause" and "resume"
Usually to interject a command into a running script you need "!", but
"pause" is different - no need for "!" there. Once a script is paused you
do not need "!".
I've been working today on threads in JSmol, and should have all that
working there as well soon. Also !quit and !exit.
Bob
On Sat, Dec 1, 2012 at 2:58 PM, Angel Herráez <[email protected]> wrote:
> Hi
>
> I have some long scripts running (from spt files) in a JmolApplet within a
> webpage.
> I would like to include buttons in the page that pause and resume the
> running
> script.
>
> Pause works, but resume seems to be impossible to achieve from the page
> (it works from the applet's console).
> I have tried both "resume" and "!resume"
>
> <img src="pause.gif" onClick="jmolScript('!pause;');">
> <img src="play.gif" onClick="jmolScript('!resume;');">
>
> Is there a way to do it?
>
> Thanks
>
>
>
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel:
> INSIGHTS What's next for parallel hardware, programming and related areas?
> Interviews and blogs by thought leaders keep you ahead of the curve.
> http://goparallel.sourceforge.net
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
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
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users