This thread has been very helpful to me. I have a question though.
I am using the suggestion here to create a workflow in Mail. I have grown used to MailMate, which lets me use single-key shortcut. For example, while in a message list, I can type "C" to compose a new message, "R" to reply to the selected message, etc.
I can create this in Mail using the above example, and setting the Macro Group to "When a focused window title contains" (the opposite of the above, because I want the single-keys to work while I am in the message window, but NOT to work when I am in a compose window because I need those single-key shortcuts to be regular keystrokes, "c" "r" etc so I can type a message). I hope this makes sense.
This all works well. When I am in the message window I have my single-key shortcuts. When I type "c" I get a compose window, and the Macro group deactivates.
Except ... when I use Alfred while in Mail, I lose these keystrokes "c" etc.) because KBM thinks Mail is still the focused window. Even though Alfred's window pops up over Mail, and I can type into Alfred, apparently Mail is still the focused window and I lose those keystrokes.
My question is: is there any way for KBM to know that Alfred is now the focused window so that the Macro Group is no longer activated?
Again, I hope my explanation makes sense.