V2.39c Suggestion: %index%


#1

Really useful would be the following Export script System placeholder:

%_index% Current value of the index of the immediately containing loop

Also, in Help, %_counter% would be more clearly described as

%_counter% Current counter value (ascending from 1) of the immediately containing loop


#2

I don't see the difference of these two placholders. Can you give an example?


#3

I don't see the difference of these two placholders.

Sorry to be unclear - by "the index" I mean the field/expression argument of $loop().

Can you give an example?

The export script

$loop(%_filename_ext%)%_counter% %_index%
$loopend()

would output e.g.

1 myfirstfile.mp3
2 mysecondfile.mp3

I'd use %_index% instead of having to repeat the long expression that I often have in $loop() e.g. one to find the UPC and other info from folder name.

Now I think about it, parhaps it would better for Mp3tag to allow this:

$loop($put(v,%_filename_ext%))%_counter% $get(v)
$loopend()