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:
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
37 / Male / –
Joined: May 2004
Status: Away
RE: RE: [REQUEST] Display Picture Change with Status script
quote:
Originally posted by ThunderStorm
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";
      }
}




You should replace the "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\" with MsgPlus.ScriptFilesPath  and all the \ should be \\
06-25-2006 03:53 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
The function I posted does work.

Make sure you are pointing the image to set as one that is on the PC.
06-25-2006 03:54 PM
Profile E-Mail PM Find Quote Report
nuwanda
New Member
*

Avatar

Posts: 8
Joined: Jun 2006
RE: RE: [REQUEST] Display Picture Change with Status script
quote:
Originally posted by Matty
You need to make sure you have two slashes in the path.

code:
function OnEvent_Initialize(MessengerStart){
     Messenger.MyDisplayPicture = 'C:\\look_listen_speak.jpg';
}


Same error :S maybe i should give up for today...i dont think my problem is about the path its about the function,dont know... :(
06-25-2006 04:00 PM
Profile E-Mail PM Find Quote Report
ThunderStorm
Junior Member
**

Avatar
I Love Zillah

Posts: 34
38 / Male / –
Joined: Mar 2006
RE: [REQUEST] Display Picture Change with Status script
It works:D
Thank you
Vote On Me
06-25-2006 04:02 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
Oops looks like I may have forgot something

code:
Messenger.MyDisplayPicture = '\C:\\look_listen_speak.jpg';

According to the rest of the documentation you need to preceed the path with a \ before if you are using a relative path.
06-25-2006 04: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
code:
function OnEvent_Signin(Mail){
Messenger.MyDisplayPicture = '\C:\\dsc.jpeg';
}


that doesn't work..i give up for today..thnx for ur help :)
06-25-2006 04:06 PM
Profile E-Mail PM Find Quote Report
mathieumg
Full Member
***


Posts: 181
Reputation: 2
35 / Male / Flag
Joined: May 2004
RE: [REQUEST] Display Picture Change with Status script
Like I pointed out above :p *rolleyes*
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-25-2006 04:07 PM
Profile E-Mail PM Web Find Quote Report
Sepulcrum
New Member
*


Posts: 8
Joined: Jun 2006
RE: [REQUEST] Display Picture Change with Status script
In the scripting documentation it says you have to put the slash ('\') BEFORE the path, like:

"\C:\My Documents\picture.jpg"

Dunno if it's right...

edit: oops.. too late :P

This post was edited on 06-25-2006 at 04:13 PM by Sepulcrum.
06-25-2006 04:12 PM
Profile E-Mail PM Find Quote Report
ThunderStorm
Junior Member
**

Avatar
I Love Zillah

Posts: 34
38 / Male / –
Joined: Mar 2006
RE: [REQUEST] Display Picture Change with Status script
I have my script finished en created to a .plsc file.
Include the ScriptInfo.xml.
I have sended my script to my girlfriend, but the script doensn't work.

At my PC work the script fine.

Whats the problem?
Vote On Me
06-25-2006 04:47 PM
Profile E-Mail PM Find Quote Report
vk3xem
New Member
*

Avatar
Communications

Posts: 13
58 / Male / –
Joined: Nov 2004
O.P. RE: [REQUEST] Display Picture Change with Status script
Great Stuff guys!    (Y)

Unfortunately I don't know anything about scripting, but it looks like plenty of you guys are and interested in the Display Picture changing with the Status.

I love the way I can go to the Messenger Plus! Live Script page and download a script and it automatically installs for me.  So I look forward to seeing a script for this on there soon.    :D
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 06:31 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