Thread Tools Display Modes
07-19-05, 04:17 PM   #1
omoda
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 11
ChatMats

Now you no longer have to dread being asked what the 'mats' are for something. Just Alt-LeftClick your recipe from your trade skill window and have the chat bar open for text and the ingredients are put right in. Simple, Easy, Quick.

Enjoy!

download

Respond to this thread or email me at [email protected] if you have any questions/suggestions.
Attached Thumbnails
Click image for larger version

Name:	chatMats.jpg
Views:	880
Size:	11.8 KB
ID:	138  

Last edited by omoda : 07-29-05 at 01:55 PM.
  Reply With Quote
07-19-05, 11:02 PM   #2
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 7,134
Hi Omoda. Could I ask you to actually upload your mod to the tradeskill section of our downloads, please? If you go to [ur;=http://www.wowinterface.com/downloads/index.php?cid=40&dp=0&sh=full&so=desc&sb=lastupdate]this[/url] page, you will see an"Upload Interface" button there. All we need are the zip file (as you have attached here), a screenshot (same) and a description, which your introductory paragraph here is perfect.

Thanks,
__________________
“Do what you feel in your heart to be right — for you’ll be criticized anyway.” ~ Eleanor Roosevelt
~~~~~~~~~~~~~~~~~~~
Co-Founder & Admin: MMOUI
FaceBook Profile, Page, Group
Avatar Image by RaffaeleMarinetti
  Reply With Quote
07-20-05, 05:54 AM   #3
omoda
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 11
I added the mod to the Tradeskills section
  Reply With Quote
07-20-05, 02:48 PM   #4
omoda
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 11
I found a bug of sorts. For some reason it doesn't work with enchanting. hmmm??? Ill update when i figure it out.
  Reply With Quote
07-20-05, 03:05 PM   #5
Kaelten
Jack's raging bile duct
 
Kaelten's Avatar
Featured
Join Date: May 2005
Posts: 782
enchanting doesn't use the same frame as the other. it uses the CraftFrame not the TradeSkillFrame

also for some reason, BeastTraining also uses the CraftFrame.
__________________
WowAce.com & CurseForge.com Adminstrator
Developer of Ace3, OneBag3, and many other addons and libraries
Project lead and Mac developer for the Curse Client

Anyone that needs what they want
And doesn't want what they need
I want nothing to do with
  Reply With Quote
07-20-05, 03:19 PM   #6
Thoreac
A Deviate Faerie Dragon
 
Thoreac's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 14
Aha... this explains why you can't drag the Enchant window with BibMod ... I shall search out his thread and post a bug there. Thanks for the accidental help

/thread_hijaak off
__________________
-
Thoreac
Tailoring || Enchanting ( constantly changing )
  Reply With Quote
07-20-05, 10:54 PM   #7
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 522
This is a great idea. Will be awesome when it works with enchanting.

btw to work around the 255-character chat line limit, which gets hit often when dealing with links, you're welcome to this function I wrote for Recap. There may be a better way too:

-- Use this instead of ChatFrameEditBox:Insert(msg)
function InsertChat(msg,delimiter)
local channel,chatnumber = ChatFrameEditBox.chatType
local cx,i,m_start,m_end,done

delimiter = string.sub(delimiter or "]",1,1)

if channel=="WHISPER" then
chatnumber = ChatFrameEditBox.tellTarget
elseif channel=="CHANNEL" then
chatnumber = ChatFrameEditBox.channelTarget
end

cx = string.len(ChatFrameEditBox:GetText())

if cx+string.len(msg)<255 then
ChatFrameEditBox:Insert(msg)
else

cx = string.len(msg)
m_start = 1

while not done do
m_end = nil
for i=m_start,cx do
if ((string.sub(msg,i,i)==delimiter and (i-m_start)<255)) or ((i-m_start<255) and i==cx) then
m_end = i
end
if (i-m_start)>254 and not m_end then
m_end = i
end
end
SendChatMessage(string.sub(msg,m_start,m_end), channel,nil,chatnumber)
m_start = m_end+1
if m_start>cx then
done = true
end
end
end
end

To use, build a string of any length, then:
InsertChat(yourstring," ") -- delimit by spaces
or
InsertChat(yourstring) -- delimit by "]" (default)

If 'msg' will fit in the ChatFrameEditBox with whatever text is currently there, then it will :Insert 'msg'. If not, it will send 'msg' in chunks to the current chatType, fitting to the last delimiter in each 255-character section if it finds one. If a delimiter isn't found in a 255-character stretch it breaks for a new line at 255 characters. For links you'll want to ensure the delimiter is unique enough not to break links in two.
  Reply With Quote
07-21-05, 01:39 AM   #8
Kaelten
Jack's raging bile duct
 
Kaelten's Avatar
Featured
Join Date: May 2005
Posts: 782
Originally Posted by Thoreac
Aha... this explains why you can't drag the Enchant window with BibMod ... I shall search out his thread and post a bug there. Thanks for the accidental help

/thread_hijaak off
lol, trust me the conflicts this has caused me within KCET have been mind numbing.
__________________
WowAce.com & CurseForge.com Adminstrator
Developer of Ace3, OneBag3, and many other addons and libraries
Project lead and Mac developer for the Curse Client

Anyone that needs what they want
And doesn't want what they need
I want nothing to do with
  Reply With Quote
07-21-05, 09:53 AM   #9
omoda
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 11
Now works with enchanting. The updated zip is available here .

Last edited by omoda : 07-21-05 at 12:33 PM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » ChatMats


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