[Request]Highlight WLM icon |
Author: |
Message: |
Jimbo
Veteran Member
Posts: 1650 Reputation: 18
32 / /
Joined: Jul 2006
|
O.P. [Request]Highlight WLM icon
is it possible to create a script that displays how many contacts are online/offline when you hover the mouse over the WLM icon in the system tray?
Like this when u hover over the icon(see attachment)
Attachment: bob.JPG (3.8 KB)
This file has been downloaded 229 time(s).
This post was edited on 10-03-2006 at 02:36 PM by Jimbo.
|
|
10-03-2006 02:35 PM |
|
|
Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
Joined: Apr 2006
Status: Away
|
RE: [Request]Highlight WLM icon
Errm... how about editing Email Tooltip script by -dt-?
I can do that for you if you wish
This post was edited on 10-03-2006 at 02:41 PM by Felu.
|
|
10-03-2006 02:41 PM |
|
|
saralk
Veteran Member
Posts: 2598 Reputation: 38
35 / /
Joined: Feb 2003
|
RE: [Request]Highlight WLM icon
I have edited dt's script, so it will now was WLM - your email address - online contacts/offline contacts - Status
e.g. WLM - example@example.com - 24/143 (Online)
Attachment: Email Tooltip.plsc (5.48 KB)
This file has been downloaded 138 time(s).
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
|
|
10-03-2006 04:38 PM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: [Request]Highlight WLM icon
I did this before, but never mentioned or released it
<Eljay> "Problems encountered: shit blew up"
|
|
10-03-2006 06:21 PM |
|
|
Jimbo
Veteran Member
Posts: 1650 Reputation: 18
32 / /
Joined: Jul 2006
|
O.P. RE: [Request]Highlight WLM icon
Sorry to be picky but can it do exactly what i asked for, or isn't that possible?
|
|
10-03-2006 06:28 PM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: [Request]Highlight WLM icon
Pretty sure colours aren't possible. Not really a drawback thout is it?
<Eljay> "Problems encountered: shit blew up"
|
|
10-03-2006 06:29 PM |
|
|
Jimbo
Veteran Member
Posts: 1650 Reputation: 18
32 / /
Joined: Jul 2006
|
O.P. RE: [Request]Highlight WLM icon
nah, not really. ok oh well thanks anyway
|
|
10-03-2006 06:32 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: RE: [Request]Highlight WLM icon
quote: Originally posted by -!Felu!-
Errm... how about editing Email Tooltip script by -dt-?
quote: Originally posted by saralk
I have edited dt's script
no offense to -dt- at all, but why using such a complicated over the top bloated script while all you need todo is calling 1 simple API....
see one of my posts about manipulating the tray icon.
this is all you need: code: function ChangeTooltip(newtext) {
// Some needed variables
var NIM_MODIFY = 0x1;
var NIF_TIP = 0x4;
// Get handle to hidden window which is responsible for the messenger tray icon (polygamy safe!)
var tIDCurrent = Interop.Call('Kernel32', 'GetCurrentThreadId');
var hWnd = 0;
while (hWnd = Interop.Call('User32', 'FindWindowExW', 0, hWnd, 'MSNHiddenWindowClass', 0))
if (Interop.Call('User32', 'GetWindowThreadProcessId', hWnd, 0) === tIDCurrent) break;
if (hWnd !== 0) {
// Create the datablock structure (v2)
var NOTIFYICONDATA = Interop.Allocate(488);
// Fill in some needed parameters
with (NOTIFYICONDATA) {
WriteDWORD(0, NOTIFYICONDATA.Size); //DWORD cbSize
WriteDWORD(4, hWnd); //HWND hWnd
WriteDWORD(8, 40046); //UINT uID
WriteDWORD(12, NIF_TIP); //UINT uFlags
WriteString(24, newtext.substring(0, 127), false); //WCHAR szTip[128]
}
// Call the API
Interop.Call('shell32.dll', 'Shell_NotifyIconA', NIM_MODIFY, NOTIFYICONDATA);
}
}
This post was edited on 10-04-2006 at 02:31 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
10-03-2006 07:04 PM |
|
|
alexp2_ad
Scripting Contest Winner
Who love the chocolate?
Posts: 691 Reputation: 26
37 / / –
Joined: May 2004
Status: Away
|
RE: RE: RE: [Request]Highlight WLM icon
quote: Originally posted by CookieRevised
quote: Originally posted by -!Felu!-
Errm... how about editing Email Tooltip script by -dt-?
quote: Originally posted by saralk
I have edited dt's script
no offense to -dt- at all, but why using such a complicated over the top bloated script while all you need todo is calling 1 simple API....
see one of my posts about manipulating the tray icon.
And that script crashes WLM 8.1 on startup.
|
|
10-03-2006 07:06 PM |
|
|
Jimbo
Veteran Member
Posts: 1650 Reputation: 18
32 / /
Joined: Jul 2006
|
O.P. RE: RE: RE: RE: [Request]Highlight WLM icon
quote: Originally posted by alexp2_ad
quote: Originally posted by CookieRevised
quote: Originally posted by -!Felu!-
Errm... how about editing Email Tooltip script by -dt-?
quote: Originally posted by saralk
I have edited dt's script
no offense to -dt- at all, but why using such a complicated over the top bloated script while all you need todo is calling 1 simple API....
see one of my posts about manipulating the tray icon.
And that script crashes WLM 8.1 on startup.
But not many people have 8.1 and i swear MPL doesnt work with 8.1 anyway
|
|
10-03-2006 07:09 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|