Skip to content

Joost1991/powerpoint-remote-websocket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

powerpoint-remote-websocket

This is a VSTO PowerPoint plugin to remote control the slideshow features using a WebSocket connection.

This plugin is intended to get used by Bitfocus Companion. After installing this VSTO PowerPoint AddIn, Companion can communicate with PowerPoint to send commands and receive information. But of course you can also use this plugin for other purposes.

Installation

Go to the Releases tab and download the latest version. After download the zip archive, make sure to right click the object and go to the file properties. In this window at the bottom check "Unblock" (otherwise you will get errors during the installation).

The last step is to unzip the downloaded file and to run the "installation.bat" script - now just follow the installer instructions.

WebSocket API documentation

After you've setup the WebSocket connection, you can use the following command to retreive all information.

{
  "action": "status"
}

The answer to this query will look like this:

{
  "slideShowActive": boolean (R/W),
  "totalSlideCount": int (R),
  "currentSlide": int (R/W),
  "presentationFullPath": string (R),
  "fileName": string (R)
}

To start/stop the presentation or go to a specific slide, simply send the information in the following format:

{
  "slideShowActive": true,
  "currentSlide": 4
}

The following actions are available:

Close all currently opened presentations:

{
  "action": "closeAll"
}

Open a presentation from the filesystem:

{
  "action": "openPresentation",
  "path": "C:\path\to\file\filename.pptx",
  "closeOthers": true
}

Go directly to first slide:

{
  "action": "first"
}

Go directly to last slide:

{
  "action": "last"
}

Go to next slide:

{
  "action": "next"
}

Go to previous slide:

{
  "action": "previous"
}

Blackout Presentation screen:

{
  "action": "blackout"
}

Whiteout Presentation screen:

{
  "action": "whiteout"
}

Show Presentation again after black-/whiteout:

{
  "action": "showPresentation"
}

Hide slide:

{
  "action": "hideSlide",
  "slideId": 1
}

Unhide slide:

{
  "action": "unhideSlide",
  "slideId": 1
}

Unhide all slides:

{
  "action": "unhideAllSlides"
}

Show laser pointer:

{
  "action": "showLaserPointer"
}

Hide laser pointer:

{
  "action": "hideLaserPointer"
}

Toggle laser pointer:

{
  "action": "toggleLaserPointer"
}

Erase drawings on active slide:

{
  "action": "eraseDrawings"
}

About

VSTO PowerPoint plugin to remote control the SlideShow using a WebSocket connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 100.0%