unfortunatly I do not know proper keywords for a search and maybe I'm somehow blind
Consider a loop over an album in order to export the tracklisting, something like $loop(%_filename_ext%)
$num(%track%,2) -- %title% $loopend
I'm trying to execute a command only in the last loop, e.g.
$loop(%_filename_ext%) $num(%track%,2) -- %title% IF this is the very last run of this loop, than do ... else nothing. $loopend
I tried %_max_counter%, %_total_files% and defined a variable (puts(condition, %_total_files%) ... But it does not work In my case it is not a solution, to put my commands after the loop.
(By the way, it was easy to determine the first loop: $if($eql(%_counter%,1),true,false).
Any help is appreciated. Regards, LosMintos