What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Help » Could someone point me to...

Pages: (2): « First « 1 [ 2 ] Last »
Could someone point me to...
Author: Message:
Clarkooo.1
Junior Member
**

Avatar
Messenger Plus! Live Fanatic!

Posts: 52
Reputation: 1
33 / Male / Flag
Joined: Nov 2007
O.P. RE: Could someone point me to...
no the now playing script allows you to colour your current set media and make it bold or italics etc...

[Image: scotland.png] Scotland! [Image: scotland.png]

01-27-2008 11:04 PM
Profile E-Mail PM Web Find Quote Report
Clarkooo.1
Junior Member
**

Avatar
Messenger Plus! Live Fanatic!

Posts: 52
Reputation: 1
33 / Male / Flag
Joined: Nov 2007
O.P. RE: Could someone point me to...
well how can I do this manually as the script does not work with iTunes?

[Image: scotland.png] Scotland! [Image: scotland.png]

01-27-2008 11:09 PM
Profile E-Mail PM Web Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Could someone point me to...
Here's the code from Appmon+ that sets the current media message. Looks like it came from the Now Playing script
code:
// Function by -dt-
function setNowPlaying(enabled, type, format, title, artist, album, contentID){
    if(typeof(type) == "undefined")type = "Music";
    if(typeof(format) == "undefined")format = "";
    if(typeof(title) == "undefined")title = "";
    if(typeof(artist) == "undefined")artist = "";
    if(typeof(album) == "undefined")album = "";
    if(typeof(contentID) == "undefined")contentID = "";
    enabled = Math.abs(enabled);
   
    var WM_COPYDATA = 0x4A;
   
    //reference
    var song = Interop.Allocate(512);
   
    //change the Music thing to Games or Office or
    song.WriteString(0, "\\0" + type + "\\0" + enabled + "\\0" + format +"\\0" + title +"\\0" + artist + "\\0" + album + "\\0" + contentID + "\\0");
   
   
    //write our copyDataStruct Structure
    var copyDataStruct = Interop.Allocate(12);
    copyDataStruct.WriteDWORD(0, 0x547); //dwData
    copyDataStruct.WriteDWORD(4, song.Size); //cbData
    copyDataStruct.WriteDWORD(8, song.DataPtr);  //lpData
   
   
    //Send it to all open messengers
    var hMSGRUI = 0;
    do{
        hMSGRUI = Interop.Call("User32", "FindWindowExW", 0, hMSGRUI, "MsnMsgrUIManager", 0);
        if(hMSGRUI > 0){
            Interop.Call("User32", "SendMessageW", hMSGRUI, WM_COPYDATA, 0, copyDataStruct);   
        }
    }while(hMSGRUI != 0);


}

[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
01-27-2008 11:27 PM
Profile PM Web Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


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