bitfocus / companion

Bitfocus Companion enables the reasonably priced Elgato Stream Deck and other controllers to be a professional shotbox surface for an increasing amount of different presentation switchers, video playback software and broadcast equipment.
http://bitfocus.io/companion
Other
1.63k stars 505 forks source link

Pre and Post scripting #3120

Closed Bobby-McGonigle closed 2 days ago

Bobby-McGonigle commented 3 weeks ago

Is this a feature relevant to companion itself, and not a module?

Is there an existing issue for this?

Describe the feature

Hello

Working with variables, I often have to find a way to parse information or do a bit of math here and there manually depending on the button press.

Like in Postman, it would be great if we had pre and post scripting capabilities to manipulate data in some fashion.

This could be it's own standalone module in theory and add them in as a part of a sequence or press/release actions, but I think it could be very useful

A small code editor that's able to access variables both read and write

Usecases

Julusian commented 3 weeks ago

This sounds like something already doable with expressions?

Doing things after other actions is not very reliable currently due to the execution order, we are already considering changing that behaviour #2882

And it will be nicer once #1909 is done too.

Does that cover everything?

Julusian commented 2 days ago

As summarised in my comment above, this is either covered by other issues, or needs further clarification on what it is asking for