From: Benjamin Bouvier (benjamin.bouvier_at_ibcp.fr)
Date: Tue Oct 28 2008 - 06:15:45 CDT

Hi no-name ;-),

Try something like this:

foreach f [ lsort [ glob deposit0.*.xyz ] ] {
        mol addfile $f type xyz
}

If you want to program in VMD, you should learn some TCL (alternately,
some Python)...
Cheers,

Benjamin.

On Tue, 28 Oct 2008 11:5:19 +0100, no tengo nombre <nuevo25es_at_yahoo.es>
wrote:

> hi
> i'm new with VMD and after read the manual and use the visual interfaz
> under windows system i begin to create little programs in vmd.
>
> i want read a secuence of xyz files in one command and try:
> mol addfile deposit0.*.xyz type xyz (and other combination of .* with '
> and " and don't run)
>
> and
>
> animate read xyz deposit0.*.xyz
> and don't run,
>
> someone can tell me how i can put the format of file, for select all
> files begining with deposit0 and finishing with .xyz.
>
> thank for all.
>
>
>