phuvf / oscpoint

OSCPoint is a PowerPoint add-in that allows Open Sound Control (OSC) control of PowerPoint on Windows
https://oscpoint.com
MIT License
37 stars 3 forks source link

Change status feedback from "slideshow" to "Live" #29

Closed PhillPower closed 2 months ago

PhillPower commented 4 months ago

Please change the reported state of the presentation $(OSCPoint:state) values from "slideshow / edit" to "Live / Edit"

Reason: to fit the text on the buttons better.

phuvf commented 4 months ago

For now, I'm going to stick with 'slideshow' here, as I'm trying to keep OSCPoint as close to the PowerPoint object model as possible. Additionally, "Live" can mean lots of different things - particularly in main/backup systems e.g. a backup PPT running a slideshow would be labelled as 'Live', even though it's not actually live to air.

If you'd like to use 'Live' and 'Edit' as labels, this is possible by running a JavaScript ternary operator on the $(OSCPoint:state) variable and using this as the button text.

Further discussion welcome, of course.