Do a different action depending on the focus window name

Hello, in keyboard maestro I am able to setup a different action for the same button depending on the focus window name. Is it possible to do the same in BTT ? If not, how could I use keyboard maestro to selectively enable/disable BTT triggers ?

Thanks

you can either use an if condition inside of the buttons action sequence that checks the window name, or you can use advanced trigger conditions or conditional activation groups :

depends a bit on your usecase what's best

Thanks, I’ll give it a try, I was not aware of if conditions