How To handle Decks When Publishing a Package
I've created a package I may publish to the store. My question is about Stream Decks.
I've created a couple 8x4 decks and 5x3 decks to accomodate what other users might have. These decks are loaded by commands (I have Macros that do an action and load a deck related to that action).
My question is I always have to choose one of my own decks in these macros. So, if I publish this package to the store, how do I make sure the macros that need to show decks work for other users on other systems? (Or do other users have to edit my macros and assign their own decks manually?)
- Kitch Membery @Kitch2024-04-01 17:21:54.354Z
Hi @Matt_Friedman,
Those downloading the package from the store will need to either assign a trigger to open the decks or create a macro to do so. Triggers do not get published to the SoundFlow store.
I hope that helps. :-)
- MMatt Friedman @Matt_Friedman
Sort of. What I mean is I have some Macros that use the "Show Deck" action. So in that action you must select a Device. This is all because when I show the Deck I also need to run another action at the same time (I know this would be easier if all I wanted to do was load the deck).
For example: I am loading a web page, and simultaneously loading a deck onto the streamdeck (the deck has functions for that site).
So if this was a published package, do users of it just go to that Macro and pick their Device from the action? Can they even edit that, or do they have to turn the Macro into an editable copy first in order to set their own Device?
Thanks
Kitch Membery @Kitch2024-04-01 21:24:51.346Z
Hi Matt,
Ahh I see, In that case, yes, the person downloading the package would need to make an editable copy of the macro first in order to assign their own Device.
If you just want the deck to default to the first available Stream Deck, you can do this by using the "Show Deck on Stream Deck" macro action and leaving the "Device" property blank. (This will unfortunately not work for the "Open Deck (Show on Device)" macro action though.)
- MMatt Friedman @Matt_Friedman
Thanks. That helps.
Out of curiosity, if one of my devices is selected in the "Show Deck on Stream Deck" command, and it gets published to store, what happens? Does the Device property retain the setting to my device or is it automagically nulled/blanked?
Kitch Membery @Kitch2024-04-01 23:41:14.031Z
I believe it is retained, so best to reset the property before publishing the package.
You can do this by clicking on the property name and selecting "Reset".
- MMatt Friedman @Matt_Friedman
Hi Kitch,
Just wanted to mention that I think it'd be great if the "Show Deck on Stream Deck" and "Open Deck (Show on Device)" commands got support for one more option: "Open on Same Device", like we're allowed to do when we have a Deck assigned to another Deck's button.
Something like this would be fabulous:
sf.decks.get('foo:bar').showOnStreamDeck({ device: "openOnSameDevice", }); // or // sf.decks.get('foo:bar').showOnStreamDeck({ device: "", openOnSameDevice: true });
Kitch Membery @Kitch2024-04-08 17:24:51.773Z
Hi @Matt_Friedman,
Thanks for the great suggestion! Could you create a thread about this in the Ideas section of the forum? That way it can be logged for consideration for future updates. :-)
- MMatt Friedman @Matt_Friedman