From: Axel Kohlmeyer (
Date: Mon Jul 25 2011 - 09:31:45 CDT

try: vmd -e script


On Mon, Jul 25, 2011 at 9:31 AM, Guenegou, Guillaume [ORDFR]
<> wrote:
> Dear all,
> I need to use a script with VMD. I use a command which looks like this:
> vmd < script.txt
> VMD executes the command (opening a protein file, displaying good
> graphical options and so on) but it closes at the end of the script. The
> problem is I need to let VMD opened.
> To avoid that, I use the "wait" command with a large number. But it is
> not satisfying.
> Is there a way to solve this problem? (particular command to put in the
> script)
> Thanks in advance,

Dr. Axel Kohlmeyer
Institute for Computational Molecular Science
Temple University, Philadelphia PA, USA.