Zeyar, I've just been doing something very similar to this.
The script command 'zap' deletes a molecule from the view. The way to quit (kill!) Jmol uses commands outside of Jmol itself and depends which platform you're on. For Windows XP you can use TASKKILL and the name of the Jmol window, which will simply be 'Jmol' if there's no molecule loaded. Unix is a bit trickier, but essentially relies upon capturing the process ID (PID) of Jmol and killing that process. I'd recommend some sort of scripting language (PERL or *nix shell scripting are good) to execute the Jmol script you've written and then monitor progress until it's time to kill of Jmol with an external command. AKAIK it's not possible to quit Jmol internally. Cheers Steve Bioinformatics Health Protection Agency -----Original Message----- From: Zeyar Aung [mailto:[EMAIL PROTECTED] Sent: 16 October 2008 12:12 To: [email protected] Subject: [Jmol-users] unloading molecule Hi All, What is the Jmol script command to unload a molecule that is currently in display? And what is the script command to quit Jmol? I have looked into Jmol documentation (http://chemapps.stolaf.edu/jmol/docs/ <http://chemapps.stolaf.edu/jmol/docs/> ) but could not find the answers. What I am trying to do is to write a script file to load a protein, do some visual modifications, save it as an image file, unload it, and the load another protein, and so on. I have hundreds of protein to be processed in this way. After processing them all, I would like to quit Jmol automatically. Thank you all in advance. <http://chemapps.stolaf.edu/jmol/docs/> Zeyar Aung Research Fellow Institute for Infocomm Research, Singapore ********************** ANNOUNCEMENT ******************************** We have moved to Fusionopolis! Our official address is: Institute for Infocomm Research, 1 Fusionopolis Way, #21-01 Connexis, South Tower, Singapore 138632. Main line: +65 64082000. Main fax: +65 67761378 Please visit http://www.fusionopolis.a-star.edu.sg/ for more information on Fusionopolis. ****************************************************************** Institute For Infocomm Research - Disclaimer This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you." ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users ----------------------------------------- ************************************************************************** The information contained in the EMail and any attachments is confidential and intended solely and for the attention and use of the named addressee(s). It may not be disclosed to any other person without the express authority of the HPA, or the intended recipient, or both. If you are not the intended recipient, you must not disclose, copy, distribute or retain this message or any part of it. This footnote also confirms that this EMail has been swept for computer viruses, but please re-sweep any attachments before opening or saving. HTTP://www.HPA.org.uk ************************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

