Show/Hide hidden text
This chapter gives an overview of the events that are raised by a PowerPoint connection and that can be used in the Event Listener.
Please read the chapters " PowerPoint" and "Event Listener" if you would like to know how to add and use both. The available PowerPoint members that can be used in our scripting language are explained in the chapter " PowerPoint Members".
Example:
vint = currentSlide
This event is raised whenever the slide number changes.
The event returns one parameter to WD which is an integer value with the name "currentSlide" and holds the slide number, e.g. 4.
If you select this event and copy the example into the scripting field of the Event Listener, it will assign the number of the current slide to the integer variable with the name "vint" whenever the slide number changes.
|
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 TCP client dis-/connects.
|
Example:
Label1.Text = LastCommandReceived
This event is raised whenever the connected PowerPoint add-in receives a command.
The event returns one parameter to WD which is a string value with the name "LastCommandReceived" and holds for example "PPT Internal" if the last command was raised by the PowerPoint application itself. If WD triggers an action, it would appear here instead, e.g. "NEXT" or "GOTO 3".
If you select this event and copy the example into the scripting field of the Event Listener, it will write the last command into the Label with ID 1 whenever an action was triggered.
|