Show/Hide hidden text
This chapter gives an overview of the events that are raised by a Jog/Shuttle device and that can be used in the Event Listener.
Please read the chapters "Jog/Shuttle" and "Event Listener" if you would like to know how to add and use both. The available members that can be used in our scripting language are explained in the chapter "Jog/Shuttle Members".
Example:
Fader2.Value = value
This event is raised whenever the according Fader changes its value.
The event returns one parameter to WD which is an integer with the name "value" and holds the current Fader value.
If you select the event "Fader2.Value" and copy the example into the scripting field of the Event Listener, the Widget Designer Fader with ID 2 will be assigned with the same value from the Jog/Shuttle fader whenever it is moved.
|
Example:
Label1.Text = "YourMessage"
This event is raised whenever the according button is pressed down.
If you select the event "Button1.Pressed" and copy the example into the scripting field of the Event Listener, it will write "YourMessage" into the Label with ID 1 whenever Button1 on the Jog/Shuttle is pressed down.
|
Example:
Label1.Text = "YourMessage"
This event is raised whenever the according button is released.
If you select the event "Button1.Released" and copy the example into the scripting field of the Event Listener, it will write "YourMessage" into the Label with ID 1 whenever Button1 on the Jog/Shuttle is released.
|
Example:
Label1.Text = isConnected
This event is raised whenever the connection state changes from disconnected to connected or vice versa.
The event returns one parameter to WD which is a Boolean value with the name "isConnected" and holds either "true" or "false".
If you select this event and copy the example into the scripting field of the Event Listener, it will write "true" or "false" into the Label with ID 1 whenever the device dis-/connects.
|