From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Mar 07 2007 - 16:41:04 CST

Rob,
  The Tcl interpreter that's built into VMD works in
basically the same way a standalone 'tclsh' does. For scripts
you're just running occasionally, you can just cd to the directory
where they are and do a "source script.tcl". Tcl has ways of defining
directories that you can automatically search, and if you want to be
more sophisticated you can take your favorite scripts and bundle them
up as a Tcl package and set it up so VMD can find them automatically.
Otherwise, what a lot of people often do is to add source commands with
full pathnames into their .vmdrc (vmd.rc on windows), e.g.:
  source /my/home/scripts/foo.tcl

You can get the basics of Tcl scripting by reading through some
of the documentation and howtos both in the VMD home page, and
also at the Tcl web site: http://www.tcl.tk/

I think the view_change_render.tcl script has some examples at
the top of the file as I recall. Let us know if you still need
more help on that.

  John Stone
  vmd_at_ks.uiuc.edu

On Tue, Mar 06, 2007 at 01:28:56AM -0800, Rob wrote:
> John Stone wrote:
>
> >http://www.ks.uiuc.edu/Research/vmd/script_library/scripts/view_change_render/
> >
> >Let us know if you need help using these.
>
> What shall I do with this script file?
> Sorry, if this is a silly question, but I have
> never done anything with such scripts in VMD.
> Also, I don't know tk/tcl.
>
> Do I have to put it in VMD's script directory?
> And then?
>
> Thanks!
>
> Rob.
>
>
>
>
> ____________________________________________________________________________________
> Finding fabulous fares is fun.
> Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
> http://farechase.yahoo.com/promo-generic-14795097

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078