What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » hide chat window

Pages: (2): « First [ 1 ] 2 » Last »
hide chat window
Author: Message:
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
30 / Male / Flag
Joined: Oct 2006
O.P. hide chat window
i want to modify a script so that i can hide a chat window and it will still be there but the person won't be able to see it and then make it visible again
10-08-2006 08:00 PM
Profile E-Mail PM Web Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
RE: hide chat window
Couldn't you use Messenger Lock for this?
(Plus! > Preferences > Messenger > Messenger Lock)

Edit: Sorry 8-)

This post was edited on 10-08-2006 at 08:28 PM by Chris4.
Twitter: @ChrisLozeau
10-08-2006 08:03 PM
Profile PM Find Quote Report
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
30 / Male / Flag
Joined: Oct 2006
O.P. RE: hide chat window
i want to write a SCRIPT to hide ONE CHAT WINDOW

EDIT: i know i can use api calls but wich ones

This post was edited on 10-09-2006 at 12:21 AM by Baggins.
10-08-2006 08:06 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: hide chat window
ShowWindow with SW_HIDE and SW_SHOW

8-)
10-08-2006 10:05 PM
Profile E-Mail PM Find Quote Report
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
30 / Male / Flag
Joined: Oct 2006
O.P. RE: hide chat window
quote:
Originally posted by Matty
ShowWindow with SW_HIDE and SW_SHOW
i figured that out but what do i pass it as the first argument? the ChatWnd object? and are SW_HIDE and SW_SHOW really constants in JScript? the values of these are 0 and 5 so why not just pass that?^o)

EDIT:
quote:
Originally posted by deAd
..and also, don't double post, just edit your posts.
Do you see any double posts and is this edited?:
quote:
Originally posted by billboy1001
i want to write a SCRIPT to hide ONE CHAT WINDOW

EDIT: i know i can use api calls but wich ones


This post was edited Today at 08:21 PM by billboy1001.

code:
    var handle = Interop.Call("user32.dll", "FindWindowA", "", Nick + " - Conversation");
is there something the matter with this because it keeps returning 0 and that is why it is not working.

EDIT: Nick is the other username

This post was edited on 10-09-2006 at 12:27 AM by Baggins.
10-09-2006 12:10 AM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: hide chat window
quote:
Originally posted by billboy1001
Do you see any double posts and is this edited?:
You just double posted, use the edit button.

The ChatWnd object has a Handle property you can use as this ChatWnd.Handle, this will give the handle you can hide.

If you want to find the window use
code:
Interop.Call('user32', 'FindWindowW', 'imwindowclass', '');
That will find the first window.

What is the point of what you are doing? Are you entering a command into a chat window?

WHy not just use the LockMessenger feature?
10-09-2006 12:50 AM
Profile E-Mail PM Find Quote Report
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
30 / Male / Flag
Joined: Oct 2006
O.P. RE: hide chat window
I am using the file server script and when the user logs in i want to hid the window and when the user logs out i want to show it again this way i don't have to look at the window while the person is typing.
10-09-2006 12:55 AM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: hide chat window
Ok no offence thats stupid but use the OnEvent_ContactSignout and OnEvent_ContactSignIn

when the contact signs in create a window and hide it, when they sign out show it.
10-09-2006 01:08 AM
Profile E-Mail PM Find Quote Report
MoonGoose
Junior Member
**

Avatar

Posts: 16
– / Male / –
Joined: Oct 2006
RE: hide chat window
Can't anyone just post a script instead  of codes! Cause everyone else which don't know how to write a script (myself included) don't understand the codes!!!:^)
10-21-2006 06:51 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: hide chat window
If people don't know how to use the codes posted, they should probably look through the scripting documentation rather than just seeing what they can do with advanced API calls
<Eljay> "Problems encountered: shit blew up" :zippy:
10-21-2006 07:27 PM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« 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