Had a go at it myself: created a new button in the market search page (where the Find Items + Reset buttons are). Within the OnPress attribute i had the code:
Parent.Parent.Parent.Parent.MainHUD.MainChat.Chatpage.ChatFrame.ChatInput.Text = Parent.Parent.ResultsPage.Table.ScrollPage.row Item Name.LocalText
Unfortunately this didnt seem to work at all and i couldn't find any usefull debugging information within the ui.log file.
Could anyone with some more experience possibly tell me what the problem is? Needless to say, the problem is that i am either setting the text into the chat window wrong, extracting the text from the market window wrong, or possibly (and most likely!) both.
Thanks.
|