|

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


image

image

Video.GetVolume

OverviewExamples

number Video.GetVolume ( string ObjectName )


De s cr ip t ion


Retrieves the current volume level of a video object. The volume is represented as a number between 0 and 100.


P arame t er s


ObjectName


(string) The name of the video object.


Re t u r n s


(number) The current volume level of the video object. The returned value is a number between 0 and 100, where 0 is silent and 100 is the loudest. If an error occurs, -1 is returned. You can use Application.GetLastError to determine whether this action failed, and why.


|