Shoutbox

hide 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: hide chat window (/showthread.php?tid=67114)

hide chat window by Baggins on 10-08-2006 at 08:00 PM

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


RE: hide chat window by Chris4 on 10-08-2006 at 08:03 PM

Couldn't you use Messenger Lock for this?
(Plus! > Preferences > Messenger > Messenger Lock)

Edit: Sorry 8-)


RE: hide chat window by Baggins on 10-08-2006 at 08:06 PM

i want to write a SCRIPT to hide ONE CHAT WINDOW

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


RE: hide chat window by matty on 10-08-2006 at 10:05 PM

ShowWindow with SW_HIDE and SW_SHOW

8-)


RE: hide chat window by Baggins on 10-09-2006 at 12:10 AM

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
RE: hide chat window by matty on 10-09-2006 at 12:50 AM

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?
RE: hide chat window by Baggins on 10-09-2006 at 12:55 AM

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.


RE: hide chat window by matty on 10-09-2006 at 01:08 AM

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.


RE: hide chat window by MoonGoose on 10-21-2006 at 06:51 PM

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!!!:^)


RE: hide chat window by Spunky on 10-21-2006 at 07:27 PM

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


RE: hide chat window by tomsreview on 12-18-2006 at 04:04 PM

hey try this program http://www.computesafe.com it will help you hide any windows. It's specific to anything you tell it to. I find it useuful at  work and at public place. Good luck.


RE: hide chat window by Spunky on 12-18-2006 at 04:18 PM

1) That is NOT what was asked for...
2) Please don't revive old threads.