From: Ashar Malik (
Date: Sun Aug 05 2018 - 20:38:47 CDT

The script is just a function.

you can do two things.
Open VMD > TK console and copy past the content of the script.

This will temporarily define the function for the duration VMD remains

after copy pasting all line and hitting enter -- you can call the function
by its name ...

The other way would be to save it where ever.
Open vmd > tk console

and do

source path/to/where/you/saved/it/scriptname

The above is the same as doing copy paste.

Both these methods should work hopefully but the later one is preferred.

On Mon, Aug 6, 2018 at 12:03 AM <> wrote:

> Dear all,
> I am trying to create a representation (tube) from a few pdbs (showing the
> movement of a loop throughout a simulation).
> I would like to split the file I have containing many pdbs.
> I believe I need to save this script somewhere:
> I am not sure where to as wherever I tried to save it to VMD couldnt
> locate it.
> Thank you
> Loki