Deactivate a group in Pro Tools
By Andrew Sherman @Andrew_Sherman
We can activate a named group in Pro tools but deactivating it is trickier. Can we get a simple way to deactivate a named group / groups?
See workaround by Chris Shaw here:
function getGroup(grpName) {
var grp = sf.ui.proTools.mainWindow.groupListView.children.whoseRole.is("AXRow").filter(r => r.children.whoseRole.is("AXCell").allItems[1].buttons.whoseTitle.endsWith(' - ' + grpName).first.exists)[0];
if (!grp) throw `Could not find group "${grpName}"`;
return grp;
}
getGroup('<ALL>').children.allItems[1].buttons.first.elementClick();