Help - Search - Members - Calendar
Full Version: padding with spaces - align track length right
Mp3tag Forums > Mp3tag - International > Development > Export
moe
after looking at main_scripting.html help file, I'm still confused as how I align %_length% to the right of each %title%. I tried to define a variable using $put(x, y) and $puts(x, y) outside a loop and can't seem to reference it inside a loop, etc etc.

Anyway, I am exporting to simple text file and want the format for track listing to be as follows:

01 - Some song title 03:25
02 - Some long song title 10:15

Can someone pls show me some code that I can format the track listing like the above.

This is what I have done:

$loop(%_path%)$num(%track%,2) - %title% %_length%
$loopend()

but the %_length% is not aligned right sad.gif


tks
DetlevD
Maybe this guides you into the right direction.
http://forums.mp3tag.de/index.php?s=&a...ost&p=21799

DD.20070630.1430
moe
QUOTE (DetlevD @ Jun 30 2007, 13:30) *
Maybe this guides you into the right direction.
http://forums.mp3tag.de/index.php?s=&a...ost&p=21799

DD.20070630.1430


Thanks!

Managed to figure it out after translating that thread with babel fish translation smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.