What’s the best way to ask KM-Engine for Action Params in a dynamic PlugIn Action?

Hello Folks :wave:

I’m currently working on a PlugIn Action for automating BetterTouchTool.

The thing is that this PlugIn uses some Params that are globally available to many other dynamically changeable configurations.

An example is the “Show HUD Overlay“ Option which uses 3 Params (1 Checkbox & 2 Textfields) which all BTT users should be familiar with. This Option is available in so many different Actions inside BTT.

The other thing is that I have Configurations which wouldn’t require any Params set by the user and others would need at least one or two or maybe more, depending upon which BTT Action the PlugIn should perform.

My Idea is to only use Action Params when needed based on the PlugIns Configuration that’s made by the user.

Can I do that or do I have to ask KM-Engine for every single Param whether it’s used by the PlugIn at runtime or not?!

Greetings from Germany :de:

Tobias

Subroutines are not a good fit for your application ?

(They seem to me, FWIW, a little more light-weight – faster to develop)

1 Like

Hello Rob (@ComplexPoint):wave:

Nice Sunday to you … A Subroutine and also a SubMacro are in the making as well … I’m explicitly after Suggestions for PlugIns.

Greetings from Germany :de:

Tobias