View Single Post
Unread 10-15-12, 06:49 AM   #2
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,134
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).
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote