View Single Post
11-29-12, 10:59 AM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
You're missing this block of code that should be after the MacroFrameText check.
Lua Code:
  1. if ( TradeSkillFrame and TradeSkillFrame:IsShown() )  then
  2.     local item;
  3.     if ( strfind(text, "item:", 1, true) ) then
  4.         item = GetItemInfo(text);
  5.     end
  6.     if ( item ) then
  7.         TradeSkillFrameSearchBox:SetFontObject("ChatFontSmall");
  8.         TradeSkillFrameSearchBoxSearchIcon:SetVertexColor(1.0, 1.0, 1.0);
  9.         TradeSkillFrameSearchBox:SetText(item);
  10.         return true;
  11.     end
  12. end
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 11-29-12 at 11:22 AM.
  Reply With Quote