[Request] Hide Contact List Feature |
Author: |
Message: |
Lukeyy19
Junior Member
Oh Holy One...
Posts: 46
35 / / –
Joined: Jun 2006
|
O.P. [Request] Hide Contact List Feature
i wanted to draw script developers eyes to this - http://forum.mess.be/index.php?showtopic=21846
as im wondering if this is possible via a Plus Script
(also on a side note i was thinking about trying to contact Patchou directly to see if this was something he would be intrested in trying to incorperate into plus itself, but i thought this would be the only way)
This post was edited on 06-03-2007 at 12:23 AM by WDZ.
|
|
06-02-2007 01:10 PM |
|
|
Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: [Request] Hide Contact List Feature
Beta-ish version I have hacked together . I don't really know how to add a button to the window in a reliable way so I just made it work with a script menu entry.
Tested on WLM 8.5, and apparently works on 8.1 as well (according to Plik ).
For anyone who knows how to add a button for show/hide, feel free to use this script for the resizing part if you want.
Updates:
v1.0.001: Changed height for WLM 8.1, and general optimisation.
Download Hide Contact List v1.0.001
Previous downloads = 14
Attachment: Hide Contact List.plsc (1.38 KB)
This file has been downloaded 481 time(s).
This post was edited on 06-02-2007 at 06:17 PM by Eljay.
|
|
06-02-2007 03:23 PM |
|
|
Matti
Elite Member
Script Developer and Helper
Posts: 1646 Reputation: 39
32 / /
Joined: Apr 2004
|
RE: [Request] Hide Contact List Feature
Nice idea and script! Simple and well thought, that's how I like it.
|
|
06-02-2007 03:29 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: [Request] Hide Contact List Feature
Handle doesn't need to be global, can be obtained the moment you want to hide/show. But anyways, when I use it with WLM 8.1.0178, the height of the "me area" is 176 (not 191 pixels). This gives a nicer result here and the word wheel isn't half crunshed together either with this...
Nice idea for this though, should be in WLM itself
PS: if((RECT.ReadDWORD(12) - RECT.ReadDWORD(4)) == newHeight) return true;
else return false;
=>
return (RECT.ReadDWORD(12) - RECT.ReadDWORD(4)) === newHeight;
This post was edited on 06-02-2007 at 05:45 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
06-02-2007 05:07 PM |
|
|
felipEx
Scripting Contest Winner
Posts: 378 Reputation: 24
35 / /
Joined: Jun 2006
|
RE: [Request] Hide Contact List Feature
Nice! but you need a hotkey to hide/show the contactlist window
This post was edited on 06-02-2007 at 05:12 PM by felipEx.
|
|
06-02-2007 05:11 PM |
|
|
Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: [Request] Hide Contact List Feature
quote: Originally posted by CookieRevised
Handle doesn't need to be global, can be obtained the moment you want to hide/show. But anyways, when I use it with WLM 8.1.0178, the height of the "me area" is 176 (not 191 pixels). This gives a nicer result here and the word wheel isn't half crunshed together either with this...
Nice idea for this though, should be in WLM itself
PS: if((RECT.ReadDWORD(12) - RECT.ReadDWORD(4)) == newHeight) return true;
else return false;
=>
return (RECT.ReadDWORD(12) - RECT.ReadDWORD(4)) === newHeight;
Yeah already noticed the second part myself, like I said I just quickly hacked it together
Updated original post.
Download version 1.0.001 now!
|
|
06-02-2007 06:16 PM |
|
|
Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
Joined: Apr 2006
Status: Away
|
RE: [Request] Hide Contact List Feature
BUG: Hide contact list and resize window. Contact list appears again .
|
|
06-02-2007 06:34 PM |
|
|
Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: [Request] Hide Contact List Feature
quote: Originally posted by Felu
BUG: Hide contact list and resize window. Contact list appears again .
That's hardly a bug seeing as the contact list isn't technically hidden, all this script does is resize the window so the contact list is out of the frame. Nothing I can do about it afaik...
|
|
06-02-2007 07:13 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: [Request] Hide Contact List Feature
There is a bug though (well more than one... but that's understandable for a quick mashup) with 'hiding' the contactlist and then closing it, opening it and 'showing' it again. Or somthing like that. I really didn't payed much attention at what I was doing. Anyways, the list resized even smaller (I expect height 0, but since Messenger itself forced a minimum height, it reset to the minimum height (and thus PSM dissapeared)...
Also, signing out and/or signing in with a different user hasn't been taken in account yet. So that doesn't work properly (yet). But you know that already I suppose...
=> maybe when the user signs out and the contact list is shown and the state is 'hidden', enlarge the size to a minimum (eg: like 635 pixels (for 8.0 and 8.1) or 670 pixels (for 8.5), this is just high enough to accomodate all elements on the sign in page, and not looking too cramped), then as soon as the user is signed in (OnEvent_Signin), decrease the height to the normal 'hidden' size.
If this script is 'final' and working in all circumstances, I'd definatly add this to my favorites.
This post was edited on 06-02-2007 at 08:24 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
06-02-2007 07:41 PM |
|
|
Lukeyy19
Junior Member
Oh Holy One...
Posts: 46
35 / / –
Joined: Jun 2006
|
O.P. RE: [Request] Hide Contact List Feature
wow thanks for your help, thats a start, still it does need a button really, maybe you could make like a hotkey or something?
like Crtl+H to hide or something? is that possible?
also how can i make it hide just a few more pixels as there is still a slight white bar?
This post was edited on 06-02-2007 at 07:52 PM by Lukeyy19.
|
|
06-02-2007 07:45 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|