Get chatwindow - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: Get chatwindow (/showthread.php?tid=69012) Get chatwindow by SnuZZer on 11-30-2006 at 07:09 PM
Hi. code: Thanks in advance. RE: Get chatwindow by Spunky on 11-30-2006 at 07:15 PM You could iterate the chat windows or even pass the chatwnd object (when you enter a command) to a global variable... It is very possible RE: Get chatwindow by SnuZZer on 11-30-2006 at 07:29 PM
Hi. RE: Get chatwindow by Spunky on 11-30-2006 at 07:34 PM
code:[/code] RE: Get chatwindow by CookieRevised on 12-01-2006 at 04:30 AM
quote:This is were those "global variables" we talked about here come into play: look at the CurrentChat variable in SpunkyLoveMuff's script.. When the user enters the command, the OnEvent_ChatWndSendMessage event is fired. There the CurrentChat variable is set to hold the chatwindow object of the window where that command was entered in (you get that object passed from the OnEvent_ChatWndSendMessage event itself, see ChatWnd parameter). Then the window with that list is created and when the user double clicks an item in that list, the file is send to the chatwindow object which was set in the CurrentChat variable. |