At 1/8/05, Frieda Reichsman wrote:
I noticed that issuing a "show orientation" command (issued using a
button) while a prolonged applet script is executing causes the script
to stop dead in its tracks... or rather in its "stacks" :-)
according to the console:
ScriptException:RasMol virtual machine error - stack underflow

Miguel responded:

That is a bug.

Please confirm that it occurred when you tried to execute another script
while one was running.

Not quite sure what you mean, but.. while a script was running, let's call it scriptA, I clicked a button that issues the command "show orientation"-- the command is attached directly to the button and is not part of an external script. Then the scriptA stopped abruptly, and the error message appeared in the Console window. Hope this answers your question.

At 1/8/05, Frieda Reichsman wrote:
A pause button would be a useful thing, allowing students more control over the pacing of scripted movies. Of course, the pause is only good if one can resume, and so I am wondering if a "pause/resume on demand" scenario would be within reach, using Jmol.

Eric Martz replied:
interrupt (stop), pause and unpause (resume) are commands in Chime, and they have been useful. They were implemented as special high priority commands that are responded to immediately even when another script or script loop is running.

The commands are documented at
http://www.mdl.com/support/developer/chime/developer_tools/chimerasmol.jsp

According to this documentation (and my understanding of it!) these command apply to animations that are running as loops, and that's not what I need. I am referring to pausing extended movies, that is, scripts that transform the rendering of the molecule(s), contain moveTo commands, and delay commands. Perhaps "animations" was not the right way for me to describe this type of movie.

Frieda

*************************************
Frieda S. Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.MoleculesInMotion.com
Shutesbury, MA
*************************************

Reply via email to