From: Victor Albert (
Date: Sat Aug 04 2007 - 16:04:16 CDT

Dear VMD users,

        I am running a script that spits out a ".pdb" file that I then input
into vmd. I need to be able to add molecules to an already-running copy of
vmd from the command-line instead of opening a new copy of vmd every
time. Thus, everytime I run the script:

Is VMD running?
    if running: "add molecule command" - adds molecule to
already-opened vmd
    if not: vmd -size 500 500 molecule.pdb - starts new copy of vmd and
adds molecule

The "add molecule command" is the one I'm having trouble with. Is there a
way this can be done?

- Victor V Albert

VMD for Linux 1.8.5

Victor V. Albert                       Tel. 727-278-4595
QTP, University of Florida
P.O. Box 118435                    E-mail:
Gainesville, FL 32611