Is it possible to run a command or workflow whenever the Alfred window is shown / hidden? I want to deactivate certain KeyboardMaestro groups when Alfred is visible (otherwise key presses go to Alfred instead of Keyboard Maestro). I can link something to the Cmd-Space keypress, but then I don't know when the Alfred window gets hidden again...