Elgato StreamDeck starting Lua scripts

Hello everybody,
I just got myself a Streamdeck which i run with opendeck on KDE Wayland. I have some Lua scripts which i would like to run from the Streamdeck. I can get it to work with Keyboardshortcuts.
The problem is:
When i focus on the mixer window i can not start the LuaActions via Keyboardshortcuts. I bought the Streamdeck so that i could load plugins with just one button on a selected track. Now i would have to focus on the other window first before i can run a script to load a plugin. Kind of disappointing…
Does somebody have an idea for a solution?

I tried to switch to x11 and let the Streamdeck send Alt+Tab right before the shortcut for the script and after that again. Somehow it worked but not always.

There is a Topic pretty similar to my problem.

I don’t know anything about StreamDeck and what it can do. But Lua scripts can be triggered by OSC messages if that’s an option for you.

Load your script into an Action Script, e.g. Action 20, then send the OSC message:

/access_action/LuaAction/script-20

It triggers regardless of which view you’re currently in: Editor, Mixer, whatever.

Of course you’d need to set up OSC in the first place. The Ardour manual covers Ardour’s side of things.

1 Like

I can’t believe how easy this is! I was going mad yesterday. Thanks a lot! :smiley:

Much more elagant this way!

You made my day. Haha :smiley: