script help (solved)

Hi
I’m very new to scripts and am trying to get the attached script to generate a cue file from a playlist.
In this line [szLine := ’ INDEX 01 '+ FormatDateTime(‘nn:ss:00’, ?? );] where the ?? are I would like to insert the time each item will be played {the first item being 00:00}. currentItem.GetTime does not work, any ideas, please.
Al

Solved used this - currentPlaylist.GetMetadata(i).getStartTime(sttCalculated)


latest1.mls (1.57 KB)