Quantcast shift-click enemy target name - WoWInterface
Thread Tools Display Modes
10-15-12, 06:36 AM   #1
A Cliff Giant
Join Date: Jan 2010
Posts: 74
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's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,616
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, oUF_Phanx, 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!
  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