<< Click to Display Table of Contents >> Navigation: Configure VideoSyncPro Studio > Scripting Abilities > Scripting Commands |
Currently, the following scripting commands and script sections are available:
Sections
[Header] - To specify the button text in different languages
[Description] - To explain the functionality of the script in different languages.
[Commands] - To specify the steps performed by the script
Commands
PTZ.CallPreset = |
Calls the preset as defined in the current scenario of VSP |
MMPlayer.CloseAll = |
Closes all video windows on the Multimedia player with the given name, if found in the network |
MMPlayer.ShowCamera = |
Send the stream of the specified source to the Multimedia Player of your choice. |
sleep = |
Value in milliseconds that the application should wait |
Show message = |
To show a message on the screen that needs to be confimed with OK. |
Network.Find = |
Find s specific device by IP number |
Example Script
[Header]
english = Window // name shown on the button if language is english.
deutsch = Fenster // name shown on the button if language is german
[Description]
english = Focus on the window. Show cameras abc and xyz in the viewing room.
deutsch = Auf dem Fenster fokussieren. Die Kameras abc und xyz im Mitschauraum anzeigen.
[Commands]
PTZ.CallPreset = Window
MMPlayer.CloseAll = Viewing Room 1
MMPlayer.ShowCamera = Viewing Room 1, abc
MMPlayer.ShowCamera = Viewing Room 2, yxz