This what you're looking for?

/run DEFAULT_CHAT_FRAME:AddMessage(GetMouseFocus():GetN ame())

from the main "Utilizing /click" thread

http://www.dual-boxing.com/showthread.php?t=18539

May need to take a space out of the above so GetName is one word, haven't tried it I'm at work.