GetTrackLength()

Syntax:

GetTrackLength( Track )

Return:

The length of the requested track, in seconds. If the track does not exist or there is no CD present, the Return Value is -1.

Parameters:

Track - The number of the track to retrieve the length of. Track numbers start at 1 (not 0). This parameter is required.

Remarks:

This function gets the length of an audio CD track. The length is returned as the number of seconds the trak lasts for.

image\Script_Button.jpgExamples