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

OnEvent_MyMediaChange(
Author: Message:
89rafa
Junior Member
**


Posts: 16
Joined: Sep 2007
O.P. OnEvent_MyMediaChange(
in the function OnEvent_MyMediaChange(NewMedia)

how change of the variable NewMedia?

function OnEvent_MyMediaChange(NewMedia)
{
var NewMedia = [c=1]NewMedia[/c]
}

??
09-06-2007 07:08 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: OnEvent_MyMediaChange(
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
09-06-2007 07:32 PM
Profile E-Mail PM Find Quote Report
« 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