What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Random window colour scheme

Random window colour scheme
Author: Message:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: Random window colour scheme
Hey zach, i wrote these lines of "code" a long time ago  for the same reason :p

code:
var WM_COMMAND = 0x111;
var _wParam = [0x891C,0x891D,0x891E,0x891F,0x8920,0x8921,0x8922,0x8923,0x8924,0x8925,0x8926,0x8927];

function OnEvent_ChatWndCreated(ChatWnd){
Interop.Call("user32", "PostMessageW", ChatWnd.Handle, WM_COMMAND, _wParam[Math.floor(Math.random()*_wParam.length)], 0);
}
* for WLM 8.5 only ;)
05-25-2008 08:13 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Random window colour scheme - by zach on 05-24-2008 at 07:34 AM
RE: Random window colour scheme - by felipEx on 05-25-2008 at 08:13 AM
RE: RE: Random window colour scheme - by XP1 on 01-20-2009 at 02:15 AM
RE: Random window colour scheme - by zach on 05-26-2008 at 06:17 AM


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