Simple Export

Sorry for my poor English
I'm not a programmer, so I have no idea about "loop" things...

Can you help me, how can I make an export file format .txt with the display like this?

ALBUM 1
Track 1
Track 2
Track 3
Track 4
Track 5
Track 6
Track 7

Length Track 1
Length Track 2
Length Track 3
Length Track 4
Length Track 5
Length Track 6
Length Track 7

ALBUM 2
Track 1
Track 2
Track 3
Track 4
Track 5
Track 6
Track 7

Length Track 1
Length Track 2
Length Track 3
Length Track 4
Length Track 5
Length Track 6
Length Track 7

ALBUM 3
Track 1
Track 2
Track 3
Track 4
Track 5
Track 6
Track 7

Length Track 1
Length Track 2
Length Track 3
Length Track 4
Length Track 5
Length Track 6
Length Track 7

...and go on with same style depends of the count of albums

I have one artist with various or multiple albums inside a folder/directory

Thank you

Perhaps this:

$filename(txt,utf-16)$loop(%artist%,1)%artist%
$loop(%album%)%album%
$loop(%track%)Track %track%
$loopend()
$loop(%track%)Track length %track% %_length%
$loopend()
$loopend()$loopend()

Thank you so much for your reply.

You're the best, buddy :wink: