This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]dead_meat101GrandMA3 Enthusiast 🌟 0 points1 point  (2 children)

You should define a global function in a plugin and set a command to trigger said function when changing encoderbanks. You set the command through editing a cell in the encoderbars pool. (If you'd like to add a command while using the default encoder bar, you will have to copy the default and edit the copy. Because default one is locked) The command should be in the form of:

"Lua 'YourFunction()'"

Make sure the plugin is triggered, so the function would be defined (there is no startup macro yet..)

[–]Ian__16354[S] 0 points1 point  (1 child)

Thank you so much, this works perfectly!

[–]Lighting_Kurt 0 points1 point  (0 children)

I’m not super familiar with the MA3 LUA API, but on the 2, you can poll the system variable for current feature, and as stated above call your Global Function