chrisjj
1
1 See that file:///C:/Program%20Files/Mp3tag/help/options_export.html#placeholder says
2 Select five tracks
3 Run this export script
$loop(%dummy%)%_total_files% $loopend()
Expected: 5 5 5 5 5
Observed: 5 4 3 2 1
Anyone know a workaround? The loop-broken $puts/$get need not apply.
chrisjj
2
Anyone know a workaround?
$loop(%dummy%)$sub($add(%_counter%,%_total_files%),1) $loopend()
newser
3
$repeat(%_total_files% ,%_total_files%)
chrisjj
4
Thanks, but doesn't work here.
Florian
5
Global placeholders are calculated by $loop and, thus, only available outside of that loop.
OK, thanks...
... but that does not accord with the Help, especially since the Help says Global.
May I suggest the Help be fixed, e.g.:
Global placeholders (providing totals for the preceeding $loop/$loopend)
chrisjj
7
Anyone know a workaround?
I found this workaround:
$loop(%dummy%)
$puts(fixedtotalfiles,$sub($add(%_counter%,%_total_files%),1))
... %fixedtotalfiles% ...
$loopend()
Florian
Closed
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.