From: Axel Kohlmeyer (
Date: Thu Aug 11 2011 - 07:23:04 CDT


if you are too lazy to extract the exact command matches
for GUI operations from the user's guide, you don't have to
post an e-mail to the mailing list every time. you can simply
turn on logging and capture what you are doing in the GUI.
if you go to the File menu, you'll see an option to log VMD
commands to the console. click on it, and you'll see the
match of each GUI command being logged to the VMD
console. the way you'll see that the command you are
looking for is: mol selupdate 0 0 1


On Thu, Aug 11, 2011 at 5:56 AM, Guenegou, Guillaume [ORDFR]
<> wrote:
> Dear all,
> Is there a way to activate the “Update Selection Every Frame” option with a
> command?
> I am visualizing a trajectory from Amber (2 files loaded) and I use the
> command:
> Mol modselect 0 0 same residue as within 5 of residue X
> With X the “residue number” of the ligand. The goal is to see residues and
> water molecules interacting with this ligand along the trajectory.
> Thanks for any suggestion,

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