OnEvent_MyMediaChange( - 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: OnEvent_MyMediaChange( (/showthread.php?tid=77293)
OnEvent_MyMediaChange( by 89rafa on 09-06-2007 at 07:08 PM
in the function OnEvent_MyMediaChange(NewMedia)
how change of the variable NewMedia?
function OnEvent_MyMediaChange(NewMedia)
{
var NewMedia = [c=1]NewMedia[/c]
}
??
RE: OnEvent_MyMediaChange( by matty on 09-06-2007 at 07:32 PM
The OnEvent_MyMediaChange event is fired when the current Messenger user changes or removes its "current media".
In other words when, for instance, a song is changed in Windows Media Player it changes the Currently Playing song. When that happens this function is called. It does not allow you to change the MyCurrentMedia property.
The Messenger::MyCurrentMedia property returns the current "media" associated with the the current Messenger user. It is typically a song's title or a game's name.
This is is the property that will let you show a different song in your PSM. However if you simply want to change the Personal Message (not using the Music style) then use Messenger.MyPersonalMessage
|