Shoutbox

[Request] Unread Function - 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: [Request] Unread Function (/showthread.php?tid=64569)

[Request] Unread Function by djnerve on 08-07-2006 at 12:20 AM

Would anybody be able to invent a scipt that if you clicked a link in the chat, or being a script probobly a command that will make a convosation appear to be unread with the taskbar thing flashing?


Thanks
Ste


RE: [Request] Unread Function by mickael9 on 08-07-2006 at 01:07 AM

The link is not possible but the flashing is possible only if the window to flash doesn't have the focus


RE: [Request] Unread Function by Shondoit on 08-07-2006 at 12:50 PM

What exactly do you want to happen?
I don't understand the link part...

As of the taskbar flashing, this can only be done if the chatwindow doesn't have focus
When you type in the convo something like /flash it would mean that the convo already has focus, and the taskbar won't flash


RE: [Request] Unread Function by markee on 08-07-2006 at 12:53 PM

quote:
Originally posted by Shondoit
What exactly do you want to happen?
I don't understand the link part...

As of the taskbar flashing, this can only be done if the chatwindow doesn't have focus
When you type in the convo something like /flash it would mean that the convo already has focus, and the taskbar won't flash
You could however put a timer on it, just a possibility.

EDIT: Btw I'm not sure either what exactly is wanted from this script
RE: [Request] Unread Function by Shondoit on 08-07-2006 at 12:56 PM

I think he want's to be able to type a script command: "/unread" and then the taskbar flashes

@markee, The timer would be a great solution indeed


RE: [Request] Unread Function by deAd on 08-07-2006 at 02:56 PM

Or...minimize the window first... and then do it?


RE: [Request] Unread Function by markee on 08-07-2006 at 02:58 PM

quote:
Originally posted by deAd
Or...minimize the window first... and then do it?
Using my devious mind this wouldn't work in all cases :P You might want to keep the window up just how it was before you got there ;)
RE: [Request] Unread Function by djnerve on 08-08-2006 at 11:24 PM

so theirs no way of making it flash when minimized? not even  getting it to send a blank message efter 2secs or sumit? if possible


RE: [Request] Unread Function by Shondoit on 08-08-2006 at 11:32 PM

It CAN be done, I will look into it tomorrow...
I only need to now how you can pass structures to an Interop.Call, anyone?


RE: [Request] Unread Function by djnerve on 08-08-2006 at 11:38 PM

Cheers man :)


RE: [Request] Unread Function by mickael9 on 08-08-2006 at 11:56 PM

code:
Interop.Call("User32", "FlashWindow", MyChatWnd.Handle, true);


This code Flash a chat window

Edit :
code:
Interop.Call("User32", "SendMessageW", MyChatWnd.Handle, 274, 0xF020);
Minimize the window