What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Contact status indication in window's icon in taskbar

Contact status indication in window's icon in taskbar
Author: Message:
Domsy
Junior Member
**

Avatar

Posts: 31
35 / Male / Flag
Joined: Jun 2006
O.P. RE: RE: Contact status indication in window's icon in taskbar
quote:
Originally posted by CookieRevised
quote:
Originally posted by Domsy
In 8.5 I use StuffPlug, and it provides the ability to have each person's window icon (in the taskbar) reflect their status. I find this essential so I know who has gone offline so I can close their window. This feature is explained at the bottom of this page: http://www.stuffplug.com/?act=features
Can easly be done with a script. In fact such a script exists since a very long time: StatusIcon.

Unfortunatly this script isn't available anymore from its original website. I've PM'ed the author to request a new upload.
Thanks, that sounds interesting. I was thinking of looking into making a script for it, but could help with some pointers for what direction I need to go to. I was thinking I'd need to do a SendMessage to the window's handle to get it to change the icon? I'm just not sure how to handle the icon itself. I'll need to research Messenger Plus! scripts as I haven't had any experience with them in the past.

Edit: Yeah I'm having difficulty figuring out how you load in a file. I've looked through the documentation and it just doesn't seem to have anything about loading a file in. How am I meant to load an icon in (in my script folder for instance using MsgPlus.ScriptFilesPath)? I looked through JScript documentation and there's a function called GetObject, but Messenger Plus! doesn't seem to like that. I even looked into Interop but can't find anything either...

I'll appreciate any help. It's so strange I can't find anything on this.
Can't believe how difficult this has been, and I still can't figure it out.

I've got:
code:
var icon = Interop.Call("user32.dll", "LoadIconW", null, iconLocation);
Interop.Call("user32.dll", "SendMessageW", chatWindow.Handle, WM_SETICON, ICON_SMALL, icon);
And nothing seems to happen. I don't get errors or anything.

The amount of resources on the Internet to explain these things is awful... I haven't got a clue if this is the way it should be done, but I'm guessing not as nothing happens.

I'm really curious, CookieRevised, how this can easly be done with a script.

This post was edited on 03-27-2009 at 02:57 PM by Domsy.
03-27-2009 12:33 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Contact status indication in window's icon in taskbar - by Domsy on 03-26-2009 at 07:05 PM
RE: Contact status indication in window's icon in taskbar - by blessedguy on 03-26-2009 at 07:33 PM
RE: RE: Contact status indication in window's icon in taskbar - by Domsy on 03-26-2009 at 11:19 PM
RE: Contact status indication in window's icon in taskbar - by CookieRevised on 03-27-2009 at 02:07 AM
RE: RE: Contact status indication in window's icon in taskbar - by Domsy on 03-27-2009 at 12:33 PM
RE: Contact status indication in window's icon in taskbar - by CookieRevised on 03-27-2009 at 07:51 PM
RE: RE: Contact status indication in window's icon in taskbar - by Domsy on 03-28-2009 at 12:16 PM
RE: Contact status indication in window's icon in taskbar - by CookieRevised on 03-29-2009 at 12:37 AM
RE: Contact status indication in window's icon in taskbar - by riahc4 on 03-29-2009 at 05:47 PM
RE: Contact status indication in window's icon in taskbar - by Domsy on 03-29-2009 at 11:33 PM
RE: Contact status indication in window's icon in taskbar - by Spunky on 04-08-2009 at 07:12 AM
RE: RE: Contact status indication in window's icon in taskbar - by Domsy on 04-08-2009 at 12:21 PM
RE: Contact status indication in window's icon in taskbar - by ombadboy on 04-22-2009 at 11:17 AM
RE: Contact status indication in window's icon in taskbar - by Spunky on 04-22-2009 at 01:13 PM
RE: Contact status indication in window's icon in taskbar - by ombadboy on 04-22-2009 at 01:33 PM
RE: Contact status indication in window's icon in taskbar - by Spunky on 04-22-2009 at 02:07 PM
RE: Contact status indication in window's icon in taskbar - by ombadboy on 04-22-2009 at 02:20 PM
RE: Contact status indication in window's icon in taskbar - by Spunky on 04-22-2009 at 02:47 PM
RE: Contact status indication in window's icon in taskbar - by ombadboy on 04-22-2009 at 05:09 PM


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