What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Media PSM

Media PSM
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Media PSM
code:
    // Send ONLY to this messenger
    // if you need to find any other window, replace "MsnMsgrUIManager" with the class of
    // the window you need, and change the SendMessageW interop call to the function you want.

    var tIDCurrent = Interop.Call('Kernel32', 'GetCurrentThreadId');
    var hWnd = 0;
    while (hWnd = Interop.Call('User32', 'FindWindowExW', 0, hWnd, 'MsnMsgrUIManager', 0))
        if (Interop.Call('User32', 'GetWindowThreadProcessId', hWnd, 0) === tIDCurrent) {
            Interop.Call('User32', 'SendMessageW', hWnd, WM_COPYDATA, 0, copyDataStruct);
            break;
        }


This post was edited on 09-06-2006 at 11:49 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-06-2006 11:41 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Media PSM - by Spunky on 09-06-2006 at 05:08 PM
RE: Media PSM - by Felu on 09-06-2006 at 05:13 PM
RE: Media PSM - by Zeh on 09-06-2006 at 05:17 PM
RE: Media PSM - by Spunky on 09-06-2006 at 06:42 PM
RE: Media PSM - by -dt- on 09-06-2006 at 10:42 PM
RE: RE: Media PSM - by CookieRevised on 09-06-2006 at 11:41 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