What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQUEST] Display Picture Change with Status script

Pages: (3): « First [ 1 ] 2 3 » Last »
[REQUEST] Display Picture Change with Status script
Author: Message:
vk3xem
New Member
*

Avatar
Communications

Posts: 13
57 / Male / –
Joined: Nov 2004
O.P. [REQUEST] Display Picture Change with Status script
I would like a Display Picture Status changer so when I change my status it will automatically change my display picture.

I was using dpstatus.exe but it doesn't recognise any of my Personalised Statuses in Plus! Live.  The other thing is it runs as it's on application in my system tray which I don't particularly like.
The views I present are that of my own and NOT of any organisation I may belong to.

73 de Simon, VK3XEM.
06-25-2006 01:45 PM
Profile E-Mail PM Web Find Quote Report
nuwanda
New Member
*

Avatar

Posts: 8
Joined: Jun 2006
RE: [REQUEST] Display Picture Change with Status script
umm are there any function that changes display picture ?

there is something like that but i dont know how to use it :

The Messenger::MyDisplayPicture property returns the path to the display picture file used by the current Messenger user. It can also be used to change the display picture of the current user based on an existing file.


This post was edited on 06-25-2006 at 02:21 PM by nuwanda.
06-25-2006 02:19 PM
Profile E-Mail PM Find Quote Report
Fox-NL
New Member
*


Posts: 7
35 / Male / –
Joined: Oct 2005
RE: [REQUEST] Display Picture Change with Status script
code:
function OnEvent_MyStatusChange(Stat) {
      if(Stat == 2) {
             //Appear Offline - Set the DP Path here
             Messenger.MyDisplayPicture = "";
      } else if(Stat == 3) {
             //Online - Set the DP Path here
             Messenger.MyDisplayPicture = "";
      } else if(Stat == 4) {
             //Busy - Set the DP Path here
             Messenger.MyDisplayPicture = "";
      } else if(Stat == 5) {
             //Be Right Back - Set the DP Path here
             Messenger.MyDisplayPicture = "";
      } else if(Stat == 6) {
             //Idle - Set the DP Path here
             Messenger.MyDisplayPicture = "";
      } else if(Stat == 7) {
             //Away - Set the DP Path here
             Messenger.MyDisplayPicture = "";
      } else if(Stat == 8) {
             //In a Call - Set the DP Path here
             Messenger.MyDisplayPicture = "";
      } else if(Stat == 9) {
             //Out to Lunch - Set the DP Path here
             Messenger.MyDisplayPicture = "";
      }
}

Try something like that
06-25-2006 02:58 PM
Profile PM Find Quote Report
nuwanda
New Member
*

Avatar

Posts: 8
Joined: Jun 2006
RE: [REQUEST] Display Picture Change with Status script
I wrote something like that , it changes display picture after a few seconds..

function OnEvent_Signin(mail)
{
    var Message = "Your picture will be changed!";
    MsgPlus.DisplayToast("",Message);
    MsgPlus.AddTimer("resim",50000);
}

function OnEvent_Timer(timerid)
{
    if(timerid=="resim")
    {
        Messenger.MyDisplayPicture="C:/dsc.jpeg";
    }
}


but it gives error ;


Function called: OnEvent_Signin
Function called: OnEvent_Timer
Error: Geçersiz yordam çağrısı veya değişken. (something like unaccepted variable or function in english)
       Line: 12. Code: -2146828283.
Function OnEvent_Timer returned an error. Code: -2147352567


what is wrong ? Thanks for your help.
06-25-2006 03:03 PM
Profile E-Mail PM Find Quote Report
nuwanda
New Member
*

Avatar

Posts: 8
Joined: Jun 2006
RE: [REQUEST] Display Picture Change with Status script
I just used that Fox-NL wrote..but it still gives same error ;

Function called: OnEvent_MyStatusChange
Error: Unaccepted function or variable.
       Line: 3. Code: -2146828283.
Function OnEvent_MyStatusChange returned an error. Code: -214735
06-25-2006 03:22 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [REQUEST] Display Picture Change with Status script
You need to make sure you have two slashes in the path.

code:
function OnEvent_Initialize(MessengerStart){
     Messenger.MyDisplayPicture = 'C:\\look_listen_speak.jpg';
}
06-25-2006 03:41 PM
Profile E-Mail PM Find Quote Report
ThunderStorm
Junior Member
**

Avatar
I Love Zillah

Posts: 34
37 / Male / –
Joined: Mar 2006
RE: [REQUEST] Display Picture Change with Status script
Your attachment doesn't work
Vote On Me
06-25-2006 03:42 PM
Profile E-Mail PM Find Quote Report
nuwanda
New Member
*

Avatar

Posts: 8
Joined: Jun 2006
RE: [REQUEST] Display Picture Change with Status script
Still gives the same error..I think there is a problem about function,it looks like undefined or something like that ?
06-25-2006 03:44 PM
Profile E-Mail PM Find Quote Report
ThunderStorm
Junior Member
**

Avatar
I Love Zillah

Posts: 34
37 / Male / –
Joined: Mar 2006
RE: [REQUEST] Display Picture Change with Status script
I have the same problem.
Here my script:

code:
function OnEvent_MyStatusChange(Stat) {
      if(Stat == 2) {
             //Appear Offline -
             Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\offline.jpg";
      } else if(Stat == 3) {
             //Online -
             Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\online.jpg";
      } else if(Stat == 4) {
             //Busy -
             Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\busy.jpg";
      } else if(Stat == 5) {
             //Be Right Back -
             Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\brb.jpg";
      } else if(Stat == 6) {
             //Idle -
             Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\idle.jpg";
      } else if(Stat == 7) {
             //Away -
             Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\away.jpg";
      } else if(Stat == 8) {
             //In a Call -
             Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\onphone.jpg";
      } else if(Stat == 9) {
             //Out to Lunch -
             Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\lunch.jpg";
      }
}

Vote On Me
06-25-2006 03:49 PM
Profile E-Mail PM Find Quote Report
mathieumg
Full Member
***


Posts: 181
Reputation: 2
34 / Male / Flag
Joined: May 2004
RE: RE: [REQUEST] Display Picture Change with Status script
code:
function OnEvent_Initialize(MessengerStart){
     Messenger.MyDisplayPicture = '\C:\\look_listen_speak.jpg';
}

Perhaps?
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-25-2006 03:52 PM
Profile E-Mail PM Web Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » 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