VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Apr 11 2003 - 16:47:41 CDT
- Next message: John Stone: "Re: Wait command in Win2000"
- Previous message: Michael Redmond: "Re: Wait command in Win2000"
- In reply to: Michael Redmond: "Re: Wait command in Win2000"
- Next in thread: John Stone: "Re: Wait command in Win2000"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear Michael,
Can you send me a copy of your script? The 'wait' command works
for me in Windows on VMD 1.8.1b1, so unless I fixed some code and
then forgot about it since December, I'm not sure why you'd see
different behavior between Unix and Windows versions. If you want
to try testing VMD 1.8.1b1 and see if it behaves at all differently,
I can give you a copy of the new code. In any case, if you send me a copy
of your script, that'd also be helpful.
Thanks,
John Stone
vmd_at_ks.uiuc.edu
On Fri, Apr 11, 2003 at 04:28:43PM -0500, Michael Redmond wrote:
> 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
>
-- 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
- Next message: John Stone: "Re: Wait command in Win2000"
- Previous message: Michael Redmond: "Re: Wait command in Win2000"
- In reply to: Michael Redmond: "Re: Wait command in Win2000"
- Next in thread: John Stone: "Re: Wait command in Win2000"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]