Closing a chat window - 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: Closing a chat window (/showthread.php?tid=89988) Closing a chat window by pinhead on 03-30-2009 at 06:33 PM
Is it possible to close a normal chat window? I found OpenChat, but nothing to close this windows again.. RE: Closing a chat window by NanaFreak on 03-30-2009 at 08:21 PM
the first one is possible with ChatWndObj.close(0); RE: Closing a chat window by Spunky on 03-30-2009 at 08:33 PM
quote: No, it's not? RE: Closing a chat window by matty on 03-30-2009 at 09:07 PM You have to use the SendMessage API sending WM_CLOSE not ChatWndObj.Close(0); RE: Closing a chat window by afallenhope on 04-13-2009 at 01:56 AM
just a quick question, how exactly would you do this? RE: Closing a chat window by ryxdp on 04-13-2009 at 02:02 AM
jscript code: That should do it RE: Closing a chat window by SmokingCookie on 04-13-2009 at 01:36 PM
JScript code: No SendMessage stuff, just a simple function that does the work for ya. RE: Closing a chat window by afallenhope on 04-13-2009 at 10:50 PM
thanks guys. RE: RE: Closing a chat window by ryxdp on 04-13-2009 at 10:53 PM
quote: Yes, well, that's why we have people (? or is it just MenthiX?) who moderate submissions to the scripting database EDIT: @SmokingCookie: you can also lop a few bytes off of that one, just have "user32" instead of that and the extension RE: RE: RE: Closing a chat window by SmokingCookie on 04-14-2009 at 12:40 PM
quote: I just love extensions All Windows API functions are available in JScript through the Interop.Call() function, except for those which asynchronous callback functions. See the scripting documentation for more details on the Call() method. |