Streamdeck dynamic button names clipboard

Is there a way to configure streamdeck to update its button name based on a named clipboard? I want to create a button that allows me to copy text to a named clipboard (which is simple enough); then I want another button to be able to paste that named clipboard (again easy). However, I would love if that 2nd button was able to display the named clipboard and update every time the named clipboard changes. Hope that makes sense.

If I’m understanding your request, you can do the following to set a button’s title to the a named clipboard.

  1. Use the clipboard changes trigger
  2. Set the named clipboard to the system clipboard
  3. Set the Stream Deck button title to the named clipboard
Macro Screenshot (click to expand/collapse)

Keyboard Maestro doesn't have (as far as I can see) any triggers for anything that the KM programmer exclusively controls. For example, KM lets you trigger based on system clipboard changes, since the system clipboard can change outside of any action inside KM. But the named clipboards are solely controlled by KM macros - therefore if you want to have a macro that takes action "every time the named clipboard changes" then that means it's up to you to write the code to take the action when the named clipboard changes.

So if you want code that will "update something every time the names clipboard changes" then you have to write that code yourself. There is no trigger that will help you with that.

Some days I wish that KM had triggers that worked on things that KM had full control over. For example, I would like a KM trigger that would trigger every time "a KM variable of my choice" changed. Maybe that could be a future feature. But for now, if you want code that will run whenever a names clipboard (or a variable) changes, that's something you have to write manually.

It's possible that I misread your request, but I did read your request at least 10 times, and this is what I sincerely thought you were asking about.

This is perfect! I will be able to do exactly what I want with it! Thank you!

1 Like