Subject: Re: [Name Mangler Talk] Iterating through a set of folders

From: Aaron Vogel <[email-masked]>
Date: Wed, 27 Mar 2013 14:14:32 -0700 (PDT)

Oh man! That just made my life so much easier. I got the impression that 
that was what the identifier was describing, but had a hard time imagining 
how it worked. Perhaps adding an example of its use in the help section 
would be beneficial for future users.

Anyway, thanks so much!

On Tuesday, March 26, 2013 7:56:22 PM UTC-7, Many Tricks wrote:
>
> On Mar 26, 2013, at 11:50 AM, Aaron Vogel <[email-masked]<javascript:>> 
> wrote: 
>
> > a way to reset the sequence to 0 when I new <parent> is reached. I'm 
> thinking of a while loop or something to that effect. 
>
> It's actually simpler than that, you just need the last parameter (known 
> as the "sequence identifier") for the <sequence> command. Just make it look 
> like this, and you'll get what you want: 
>
> [sequence 
>     start at "0", step "1" 
>     sleep "0", maximum index "9999" 
>     minimum number of digits "4" 
>     reset on <parent> 
> ], 
>
> regards, 
> -rob.

---

From: Rob Griffiths <[email-masked]>
Date: Tue, 26 Mar 2013 16:56:22 -1000

On Mar 26, 2013, at 11:50 AM, Aaron Vogel <[email-masked]> wrote:

> a way to reset the sequence to 0 when I new <parent> is reached. I'm thinking of a while loop or something to that effect.

It's actually simpler than that, you just need the last parameter (known as the "sequence identifier") for the <sequence> command. Just make it look like this, and you'll get what you want:

[sequence
    start at "0", step "1"

regards,
-rob.