Thread Tools Display Modes
05-19-07, 05:22 PM   #1
hzh003
A Deviate Faerie Dragon
Join Date: May 2007
Posts: 17
how to capture the item text dipslay event?

Hello here. I am new to wow interfance and is trying to write a little addon myself.
I try to caputre a event when item's text get display. That is when u mouse is over the item in you bags and bank or highlighted text in chat channel, a diagram appears with the item's detail description.

I try the following code but it seems not working.

if ( event == "ITEM_TEXT_BEGIN" ) then
message("Hello World!");
return;
end

Also, how do I retrieve the items text and refomated it? (like change the color and stuff?

Thanks a lot

Tom
  Reply With Quote
05-20-07, 05:39 AM   #2
leethal
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Oct 2006
Posts: 54
Here's what I do to add info about named enchants to the tooltip:

http://wow-enchantwootomatic.googlecode.com/svn/trunk/

Perhaps you can do something similar.
__________________
github.com/augustl
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » how to capture the item text dipslay event?


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