Set toggle action state and button icons programatically.
It would be extremely helpful to have a hook so we could set an individual toggle action's state from a bash script. In a similar vein, setting a buttons icon from a script would be very useful for dynamic information without having to write an entire plugin.
As an example of the usecase - I use AwesomeWM. It would be great to be able to call a script when I change my current tags to update the buttons on my streamdeck to indicate which tags are active. StreamController has a similar feature, where you can set a script for a button to call every X seconds and set the title of the button to the output of the script, although it's not perfect and it only updates button text.
6 Replies
this is plugin territory
plugins have APIs like setImage and setTitle that they can use to manipulate the actions
but doesn't toggle action tchniclly count as a plugin?
no, toggle action is built in to OpenDeck, not even starter pack
but what I meant was that the built in actions (whether they are technically plugin or not) can't do this, but a custom plugin can
ah ok. Thought it would be starterpack
ok. Maybe worth a featurerequest for it tho?
starter pack plugin can do some things normal plugins can't, but nothing as extreme as the custom action UI/adding new states dynamically/invoking other actions
@MizunaGames do you still have StreamController installed?
also you can now set the titles and images of buttons (not released) using the CLI
No, I don't currently have StreamController installed. I swapped over after it failed to grab my deck one too many times. Almost certainly user error 🤷