What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » wanna edit this. Script - Simple Display Picture Changer by Equinox

wanna edit this. Script - Simple Display Picture Changer by Equinox
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: wanna edit this. Script - Simple Display Picture Changer by Equinox
All you need to do is change a couple of little things

code:
//On status change
function OnEvent_MyStatusChange(Stat) {

    changepic(Stat);
     
}
should simply become
code:
//On status change
function OnEvent_MyStatusChange(Stat) {
if (Messenger.MyStatus == 3){
new ActiveXObject('WScript.Shell').RegWrite(MsgPlus.ScriptRegPath+"DP",Messenger.MyDisplayPicture);
}
    changepic(Stat);
     
}

and in the last function just add another else if, this one being
code:
else if(Stat==3){
//Online
Messenger.MyDisplayPicture =
new ActiveXObject('WScript.Shell').RegRead(MsgPlus.ScriptRegPath+"DP");
}

To explain what this does - the first part just saves the location of your current DP to a registry key when you change from online, the second just changes you picture to the old online one when you change back to online. :cheesy:
[Image: markee.png]
10-19-2006 02:17 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
wanna edit this. Script - Simple Display Picture Changer by Equinox - by aaArcher_ on 10-19-2006 at 01:43 PM
RE: wanna edit this. Script - Simple Display Picture Changer by Equinox - by markee on 10-19-2006 at 02:17 PM
RE: wanna edit this. Script - Simple Display Picture Changer by Equinox - by aaArcher_ on 10-26-2006 at 12:44 PM
RE: wanna edit this. Script - Simple Display Picture Changer by Equinox - by Kenji on 10-26-2006 at 12:48 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