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

Companion buttons showing remaining time of video #34

Closed addo-00 closed 2 months ago

addo-00 commented 2 months ago

On the main page with the image of a Companion layout, it shows the time remaining split across 2 buttons - minutes on one button and seconds on the other. I can only see in the list of variables within Companion to have either seconds or to have the time formatted as mm:ss Obviously, It's not a great hardship to have the time on one button, it does save a button after all, but for me it's easier to read! :D

Thanks

phuvf commented 2 months ago

You can do this using the expressions option in Companion, and then trimming the variables to suit. Use the blue button at the end of the button text field to switch modes.

Here's an example showing the first two digits of the media position variable - this would display mm:

Screenshot 2024-04-15 090927