Loading...
This chapter gives an overview of the members available for the PowerPoint device in the Configuration dialog.
Please read the chapter "PowerPoint" if you would like to know how to add and use this device. As explained in the topic"Object and Member Notation (dot syntax)", all kinds of objects can be addressed in the scripting language by using their members which set (or return if applicable) properties or methods of that object. Please refer to the chapter "Script Language" for more details about scripting in general.
Project.PPT(deviceName or ID) |
Example: Alternative Example: |
This gives access to all further members of the device "PPT" from the Configuration dialog. Using the Project object is an alternative to addressing the device directly by entering its name. The Project object allows to address the device through its name or ID. Substituting the ID with a dynamic variable allows automation. Actions can be performed on many devices of the same type simultaneously, e.g. by using for-loops: |
PPTName.Black |
Example: Alternative Example: |
This toggles the output of your PowerPoint presentation to solid black, instead of showing the current slide. Use the member .White to toggle to a white color and the member .Continue to continue with the current slide. |
PPTName.Continue |
Example: Alternative Example: |
This member toggles the output of your PowerPoint presentation to the current slide again if it was set to "Black" or "White" with respective commands before. |
PPTName.CurrentClicksOnSlide |
Example: Alternative Example: |
This returns how many times the current slide was clicked forwards already. The result could look as follows: 2 You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.CurrentClicksOnSlide |
PPTName.CurrentSlide |
Example: Alternative Example: |
This returns the current PowerPoint slide as an integer value. The result could look as follows: 2 You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.CurrentSlide |
PPTName.CurrentSpeakerNote |
Example: Alternative Example: |
This returns optional "Speaker Notes" of your current PowerPoint slide as a string value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.CurrentSpeakerNote |
PPTName.Disable |
Example: Alternative Example: |
This disables the PowerPoint connection in the Configuration dialog as if the "Enable" check box in the window was unchecked. Use the .Enable member to reverse this command. |
PPTName.Enable |
Example: Alternative Example: |
This enables the PowerPoint connection in the Configuration dialog as if the "Enable" check box in the window was checked. Use the .Disable member to reverse this command. |
PPTName.Exit |
Example: Alternative Example: |
This changes the PowerPoint mode from "Slide Show" back to "Normal". |
PPTName.GetCurrentClicksOnSlide |
Example: Alternative Example: |
This returns how many times the current slide was clicked forwards already. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.GetCurrentClicksOnSlide |
PPTName.GetCurrentSlide |
Example: Alternative Example: |
This returns the current PowerPoint slide as an Integer value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.GetCurrentSlide |
PPTName.GetCurrentSpeakerNote |
Example: Alternative Example: |
This returns optional "Speaker Notes" of your current PowerPoint slide as a string value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.GetCurrentSpeakerNote |
PPTName.GetMode |
Example: Alternative Example: |
This returns the current mode of the connected PowerPoint presentation as a string value, e.g. "ppSlideShowRunning". Other return values are: ppSlideShowPaused, ppSlideShowBlackScreen, ppSlideShowWhiteScreen, ppSlideShowRunning, ppSlideShowStopped. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.GetMode |
PPTName.GetName |
Example: Alternative Example: |
This returns the file name of the currently loaded presentation in PowerPoint as a string value, e.g. "MyTitle.pptx". You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.GetName |
PPTName.GetRemainingClicksOnSlide |
Example: Alternative Example: |
This returns the number of remaining clicks of the current slide in your PowerPoint presentation as an Integer value. In other words, that is .GetTotalClicksOnSlide minus .GetCurrentClicksOnSlide. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.GetRemainingClicksOnSlide |
PPTName.GetRemainingSlides |
Example: Alternative Example: |
This returns how man remaining slides your PowerPoint presentation still has. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.GetRemainingSlides |
PPTName.GetTotalClicksOnSlide |
Example: Alternative Example: |
This returns the number of all clicks of the current slide in your PowerPoint presentation as an Integer value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.GetTotalClicksOnSlide |
PPTName.GetTotalSlides |
Example: Alternative Example: |
This returns the number of all slides of the loaded PowerPoint presentation as an Integer value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.GetTotalSlides |
PPTName.GoTo(slideId) |
Example: Alternative Example: |
This sets your PowerPoint presentation to slide number 3. |
PPTName.IpAddress |
Example: Alternative Example: |
This returns the IP address of the PowerPoint connection in the Configuration dialog as a string. The result could look as follows: 10.169.80.10 You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.IpAddress In return, you can also assign an IP address to the PowerPoint connection. WD automatically connects to it afterwards. |
PPTName.IsConnected |
Example: Alternative Example: |
This member returns the connection status for the PowerPoint connection as a Boolean value. The result is "True" if the device is connected and "False" if it is currently disconnected. |
PPTName.IsEnabled |
Example: Alternative Example: |
This member returns the status of the check box "Enable" of the configuration dialog as a string or Boolean value. The result is "True" if the device is enabled and "False" if it is currently not enabled. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.IsEnabled |
PPTName.Mode |
Example: Alternative Example: |
This returns the current mode of the connected PowerPoint presentation as a string value, e.g. "ppSlideShowRunning". Other return values are: ppSlideShowPaused, ppSlideShowBlackScreen, ppSlideShowWhiteScreen, ppSlideShowRunning, ppSlideShowStopped. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.Mode |
PPTName.Name |
Example: Alternative Example: |
This returns the file name of the currently loaded presentation in PowerPoint as a string value, e.g. "MyTitle.pptx". You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.Name |
PPTName.Next |
Example: Alternative Example: |
This calls the next action of the PowerPoint presentation, e.g. the next bullet point or slide. Use the member .Previous to go one step back again. |
PPTName.Port |
Example: Alternative Example: |
This returns the port number of the PowerPoint connection in the Configuration dialog as an integer value. The result could look as follows: 9900 You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.Port In return, you can also assign another port to the connected PowerPoint application. WD automatically connects to it afterwards. |
PPTName.Previous |
Example: Alternative Example: |
This reverts the last action of the PowerPoint presentation, e.g. goes back one bullet point or slide. Use the member .Next to go one step forward again. |
PPTName.RemainingClicksOnSlide |
Example: Alternative Example: |
This returns the number of remaining clicks of the current slide in your PowerPoint presentation as an Integer value. In other words, that is .GetTotalClicksOnSlide minus .GetCurrentClicksOnSlide. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.RemainingClicksOnSlide |
PPTName.RemainingSlides |
Example: Alternative Example: |
This returns how man remaining slides your PowerPoint presentation still has. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.RemainingSlides |
PPTName.Run |
Example: Alternative Example: |
This calls the "RUN" command of PowerPoint which starts the presentation in Slide Show mode from the beginning. |
PPTName.RunCurrent |
Example: Alternative Example: |
This calls the "RUNCURRENT" command of PowerPoint which starts the presentation in Slide Show mode either with the first slide or the one that was present the last time the presentation was in slide show mode. |
PPTName.TotalClicksOnSlide |
Example: Alternative Example: |
This returns the number of all clicks of the current slide in your PowerPoint presentation as an Integer value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.TotalClicksOnSlide |
PPTName.TotalSlides |
Example: Alternative Example: |
This returns the number of all slides of the loaded PowerPoint presentation as an Integer value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = PPT1.TotalSlides |