.cue sheet export

$filename(%album%.cue,utf-8)PERFORMER "$iflonger(%albumartist%,0,%albumartist%,%artist%)"
TITLE "%album%"
$loop(%_filename_rel%)FILE "%_filename_rel%" $if($eql($upper(%_extension%),MP3),MP3,WAVE)
  TRACK $right(0%track%,2) AUDIO
    TITLE "%title%"
    PERFORMER "$iflonger(%artist%,0,%artist%,%albumartist%)"
    INDEX 01 00:00:00
$loopend()

I have not found any ready to use solution for this specific task, so I wrote one myself.
Enjoy.
If you can offer any alterations - please do.

Nice! Thanks for sharing.

I can only point to alternative scripting functions which might make the script a little shorter — but it's only cosmetics:

$if2(%artist%,%albumartist%)

$if($stricmp(%_extension%,MP3),MP3,WAVE)

This is great! I have been looking hard for something like this that can create a cue sheet! But every track has the time as INDEX 01 00:00:00. Is there something that can be adjusted so the time of the track is correct?

INDEX 01 00:00:00 is totally correct if you are making .cue for an "album" based on multiple files.

INDEX 01 00:00:00 repeated once for each file means that each track starts where data begins (for each file).
INDEX 01 00:05:00 would mean: "during playback skip first five seconds for this file".

In case you need to create .cue sheet (with multiple tracks) for a one-file album, then you're in a world of hurt, cause there is zero info where one virtual track ends and another one begins.