View Single Post
10-11-06, 03:42 AM   #5
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 147
I was trying to build a *customizable* slash-cmd library. A place where users can store (exceute) and call some useful slash-cmd.

I recently tried:
Code:
local myCommand = "/abs" -- test
if (not ChatFrameEditBox:IsVisible()) then
	ChatFrame_OpenChat(myCommand );
else
	ChatFrameEditBox:SetText(myCommand );
end;
ChatEdit_ParseText(ChatFrameEditBox,0);
ChatEdit_ParseText(ChatFrame1.editBox,0);
ChatEdit_OnEnterPressed();
but it returns me a framexml error
  Reply With Quote