I think you can use a macro
/script DEFAULT_CHAT_FRAME:AddMessage(GetMouseFocus():GetName())
There should be an obvious place to remove a space there, but It doesn't show up in the post edit window.
EDIT
n: Oh yeah, thanks. I was too baffled by that space to think of a way to fix it
