ResultVariable
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions
Video.GetLength
OverviewExamples
number Video.GetLength ( string ObjectName )
De s cr ip t ion
Retrieves the length (in seconds) of the video file in a video object.
P arame t er s
ObjectName
(string) The name of the video object.
Re t u r n s
(number) The length of the video in seconds. If an error occurs, -1 is returned. You can use
Application.GetLastError to determine whether this action failed, and why.