From: Michael Redmond (redmond_at_engr.wisc.edu)
Date: Fri Apr 11 2003 - 16:28:43 CDT

John,
I am using vmd -e dna_vmd where the dna_vmd contains the commands:

wait 15000 (just to see if it made a difference)
and more typically
wait 5

But these have no effect. I am not sure I know how to control "source" vs
"play" functionality. I will add the .vmd extension to my command file, but
I doubt that is what makes the difference.

One thing is that I built this script using the original .vmdrc because
that was the only way to use scripts in older Windows versions. I don't
think I still need all the overhead of the .vmdrc script anymore, and maybe
that is causing the problems.?

Thanks
Mike

---
At 03:52 PM 4/11/2003 -0500, John Stone wrote:
>Mike,
>   I do remember talking about this before, but as far as I recall
>the specific problem you're having isn't so much wait but the way
>wait behaves inside of Tcl procs etc.  If you use wait in a script
>that you "play" it should work fine.  If you use wait in a script
>that you "source" it may or may not work.  Let me know if you need
>more help with this.  Running "vmd -e script.vmd" is equivalent to doing
>"play script.vmd" inside of the VMD console.  If you're using source
>rather than play, this would likely explain your problem.
>Let me know if you need more help with this or if my suggestion
>doesn't cure your problem.
>
>Thanks,
>   John Stone
>   vmd_at_ks.uiuc.edu
>
>On Fri, Apr 11, 2003 at 03:43:13PM -0500, Michael Redmond wrote:
> > I think we went through this once before, but I can't find it in the list.
> > I have a VMD script with wait commands in it that works under Unix. Under
> > Windows 2000, there are no waits, it just plows right through to the end.
> >
> > I am now running 1.8 and at now scripts work (-e option), but not wait
> > commands.
> >
> > Thanks
> > Mike Redmond
> >
>
>--
>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