Skip to main content

LENGTH

Use this script to give the length of labels in the timeline, including multiple ones in the same instances, in seconds.

FORMAT: LENGTH labels


ARGUMENTS:

  • Instances: Quot­ed text, spec­i­fy­ing the label you wish to count in the front time­line or instances (which can be grouped using OR, AND, NOT).

EXAMPLE 1

$var = instances where row = "Test Row 1"
show length $var

Returns the total length of ​all instances in the row ​“Test Row 1”.

EXAMPLE 2

$var = length "label 1" where row = "Test Row 2"
show $var

Returns the total length of ​“label 1” labels in the row ​“Test Row 2”.