View Single Post
10-15-12, 06:49 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
It's possible, but I don't know of any existing addons that do it, so you'd have to write your own. Basically you'd need to call UnitName("target"), put the result in an editbox, and preselect all the text. Then you'd just need to hit Ctrl+C. You could even bind Ctrl+C to the function, so you could just target something and press Ctrl+C twice, then Escape to close the editbox (or have it auto-hide after a preset amount of time).
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote