Hi!

I just found out that I very much miss an equivalent to the "pause"  
or "wait"
command of rasmol in jmol, that is, a command that I can place in a  
script
to make the script execution pause until I have had time to examine  
the representation of my molecule, and then allows me to continue  
script execution
upon e.g. entering a <return> in the console.

Context: I have to screen a large number of structures for some  
visual features,
therefore I would like to use a script that loads one structure after  
the other, applies a script to it to highlight and center the feature  
I am looking for, then pauses until I have made my decision and then  
resumes with loading the next structure upon my signal. For most  
structures I only need a moment to decide to reject a structure, and  
only in a few cases I need significantly more time to verify that  
this structure is indeed interesting and to note its name for further  
reference

Such a pause feature would also be very useful when using jmol in a  
presentation / lecture situation.

Here's the manual entry for pause/wait in rasmol:

Pause

Syntax:  pause
          wait
The RasMol 'pause' command is used in script files to stop the script  
file for local manipulation by a mouse, until any key is pushed to  
restart the script file. 'Wait' is synonymous with 'pause'. This  
command may be executed in RasMol script files to suspend the  
sequential execution of commands and allow the user to examine the  
current image. When RasMol executes a 'pause' command in a script  
file, it suspends execution of the rest of the file, refreshes the  
image on the screen and allows the manipulation of the image using  
the mouse and scroll bars, or resizing of the graphics window. Once a  
key is pressed, control returns to the script file at the line  
following the 'pause' command. While a script is suspended the  
molecule may be rotated, translated, scaled, slabbed and picked as  
usual, but all menu commands are disabled. The 'pause' can probably  
be used most effectively with 'echo' commands in education pre- 
scripted demonstrations, where a description of the current image is  
presented to the user/student. Typically the command before a 'pause'  
should be 'echo Press any key to continue'.

Execution of a script can be cancelled by pressing Control-D or  
Control-Z (on VAX/VMS, Control-C) while standing at a pause. The  
command 'set picking none' disables picking, which avoids the display  
of spurious messages whilst a script is suspended at a pause.

Thanks for your help

                                                                Annemarie

________________________________________________________

Dr. Annemarie Honegger, Ph.D.
Zürich University, Dept. of Biochemistry
Winterthurerstr.190
CH-8057 Zürich
Switzerland

e-mail: [EMAIL PROTECTED]
Tel.: 41-44-635 55 62
Fax: 41-44-635 57 12
URL: http://www.biochem.unizh.ch/antibody
_______________________________________________________





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to