How to properly script setting action bar when action run

As far as I’m aware from the scripting documentation, it should be possible to set the action bar group when a certain action is run. However as a scripting novice I’m trying things and getting only errors… can anyone help with a proper line of code?

You need to load an ActionGroup, and then assign it to the action bar, like:

let group = ActionGroup.find("Basic");
app.loadActionBarGroup(group);
1 Like

Thanks, that sorted it! :smile: