windows media player control

Allows you to control the audio and video files.


Example

Running this code will create 2 UI buttons labeled as "Play/Pause" and "Stop", set with the actions "Play/Pause" and "Stop", respectively.

This is shown above the UBot browser.

ui button("Play/Pause") {
    plugin command("OS Automation.dll", "windows media player control", "Play/Pause")
}
ui button("Stop") {
    plugin command("OS Automation.dll", "windows media player control", "Stop")
}

Was this helpful?

Previous Article

text to speech control