What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Hide Chat Windows

Hide Chat Windows
Author: Message:
Suxsem
Junior Member
**


Posts: 66
Joined: Mar 2008
O.P. Hide Chat Windows
hi!
How can I hide a conversation and then open it without losing messages?
Thank!
03-21-2008 10:33 PM
Profile E-Mail PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
RE: Hide Chat Windows
You can do that with the Messenger Lock feature. You don't need a script to do that.

Simply go to Plus! > Preferences > Messenger > Messenger Lock

Click here for screenshot

There you can change the settings, etc.

By default, you just press CTRL+Space on your keyboard to lock Messenger, which will hide everything and change the icon in the systray (bottom-right). Then double-click the icon to restore.

.png File Attachment: messengerlock.PNG (118.05 KB)
This file has been downloaded 148 time(s).

This post was edited on 03-21-2008 at 10:48 PM by Chris4.
Twitter: @ChrisLozeau
03-21-2008 10:45 PM
Profile PM Find Quote Report
Suxsem
Junior Member
**


Posts: 66
Joined: Mar 2008
O.P. RE: Hide Chat Windows
thank! but i need this function for a big script... :)
03-21-2008 10:49 PM
Profile E-Mail PM Find Quote Report
Suxsem
Junior Member
**


Posts: 66
Joined: Mar 2008
O.P. RE: Hide Chat Windows
i see in a website this function:
var finDaNasc = Messenger.CurrentChats
Interop.Call('user32', 'ShowWindow', finDaNasc.Handle, "SW_HIDE")
BUT this function DON'T work!
where is the error?
thank!

This post was edited on 03-21-2008 at 10:58 PM by Suxsem.
03-21-2008 10:56 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Hide Chat Windows
quote:
Originally posted by Suxsem
i see in a website this function:
var finDaNasc = Messenger.CurrentChats
Interop.Call('user32', 'ShowWindow', finDaNasc.Handle, "SW_HIDE")
BUT this function DON'T work!
where is the error?
thank!
SW_HIDE wouldn't be a string.

And the code you saw is wrong. It would be
code:
for ( var oChat = new Enumerator(Messenger.CurrentChats); !oChat.atEnd(); oChat.moveNext()) {
    Interop.Call('user32', 'ShowWindow', oChat.item().Handle, 0 /* SW_HIDE */)
}

This post was edited on 03-21-2008 at 11:59 PM by matty.
03-21-2008 11:57 PM
Profile E-Mail PM Find Quote Report
Suxsem
Junior Member
**


Posts: 66
Joined: Mar 2008
O.P. RE: Hide Chat Windows
very thank! bye
03-22-2008 12:01 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On