Reply
Thread Tools Display Modes
Unread 10-15-12, 06:36 AM   #1
shyrotam
A Cliff Giant
Join Date: Jan 2010
Posts: 73
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.
shyrotam is offline   Reply With Quote
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,576
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
Reply

Go BackWoWInterface » 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