Thread Tools Display Modes
10-15-12, 06:36 AM   #1
shyrotam
A Cliff Giant
Join Date: Jan 2010
Posts: 77
shift-click enemy target name

Is it possible? How?

I'd like to copy the enemy name Ctrl-C and be able to paste it Ctrl-V into a macro.

Thanks for any replies.
  Reply With Quote
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

WoWInterface » AddOns, Compilations, Macros » Macro Help » shift-click enemy target name

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off