From: Ajasja Ljubetič (
Date: Sat Jul 30 2011 - 09:40:23 CDT


It's best if you go through the VMD tutorial first (at least the scripting
part). And then through a pasic TCL tutorial.

You can write your commands in a file and run them with

source path/to/my/file

You can enable logging of commands through File->Log TCL Commands. In this
way anything you do in the GUI will be logged as well and is a good basis
for scripts.


2011/7/30 JhonY. I. <>

> Several commands should be performed in console windows of VMD.
> I'd like to write them in one file so that by loading this file, series of
> the commands may be excuted.
> If it is possible, what should I do for it in detail?
> Incidentally asking, are the commands which are used in console windows of
> VMD a kind of tcl/tk scripts?
> Best regards,
> Luke