I've been going around in circles trying to figure this one out!
On my [Microsoft Sculpt Ergonomic] keyboard, function key F2 provides "Mute" for audio. In Davinci Resolve F2 is also the "Rename" shortcut which I use quite a lot.
I'd like to say to BTT: "Please use F2 as mute everywhere except Davinci Resolve. If current app = Davinci Resolve then just sent a plain old F2"
But I can't figure out how to do that.