FritzAndFriends/StreamDeckToolkit

Make UUID a setter or add a constructor to BaseStreamDeckAction

TylerLeonhardt opened this issue · 0 comments

Is your feature request related to a problem? Please describe.

I need to be able to dynamically set the UUID because I want to make Actions on the fly. Today, you can only statically set the UUID so I can't really do this short of recompilation or reflection.

Describe the solution you'd like

Additional context

My goal is to use StreamDeckToolkit to create a totally self contained PowerShell script runner. You will be able to do:

New-StreamDeckAction -X 3 -Y 4 -Icon foo.png -ScriptBlock {
   Write-Host "hello world"
}

and then once you restart StreamDeck.exe, it will show up.

To do this, I'd like to still only have 1 instance of the StreamDeckToolkit running so I need to be able to dynamically set the UUID.