Messenger.MyPersonalMessage empty ?! |
Author: |
Message: |
Mika56
New Member
Posts: 2
30 / /
Joined: Jan 2010
|
O.P. Messenger.MyPersonalMessage empty ?!
Hi,
I'm doing a script that call a PHP script, that generate an image.
The main problem is that the Messenger.MyPersonalMessage is always empty, except when calling from OnEvent_MyPsmChange.
What's the wrong ?
Here is the code :
code: function OnEvent_Timer(TimerId)
{
if(TimerId == 1)
{
MsgPlus.DownloadFile(msnLocation+'?pm='+Messenger.MyPersonalMessage);
MsgPlus.AddTimer(1, 10000);
Debug.Trace("Nouveau statut ("+ Messenger.MyPersonalMessage +")");
}
}
The Psm receveid by PHP is empty, and the console says "Nouveau statut ()".
Any idea ?
Mika.
Ps : I'm french, do NOT look at conjugation and grammar
|
|
01-12-2010 06:16 PM |
|
|
Patchou
Messenger Plus! Creator
Posts: 8607 Reputation: 201
43 / /
Joined: Apr 2002
|
RE: Messenger.MyPersonalMessage empty ?!
When you say the PSM is empty when the timer is called, are you sure it happens while you're signed-in?
|
|
01-13-2010 05:41 AM |
|
|
NanaFreak
Scripting Contest Winner
Posts: 1476 Reputation: 53
32 / /
Joined: Jul 2006
|
RE: Messenger.MyPersonalMessage empty ?!
I have also been having this issue...
mine gets the Messenger.MyPersonalStatus when i open a window from the script menu... so I am logged in...
it seems like the personal status isnt updated until it is set while logged in, because if i change it from the main menu then open the window again it works...
hope this helps patchou (if you need more information, you can add me on wlm )
|
|
01-13-2010 05:57 AM |
|
|
Mika56
New Member
Posts: 2
30 / /
Joined: Jan 2010
|
O.P. RE: Messenger.MyPersonalMessage empty ?!
I,
I've found an issue, it is really dirty code, but insert
code: Messenger.MyPersonalMessage = Messenger.MyPersonalMessage;
before using this var, and it will works...
Mika.
|
|
01-13-2010 10:49 AM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: Messenger.MyPersonalMessage empty ?!
quote: Originally posted by Mika56
I,
I've found an issue, it is really dirty code, but insert
code: Messenger.MyPersonalMessage = Messenger.MyPersonalMessage;
before using this var, and it will works...
Mika.
I don't see how it works if Messenger.MyPersonalMessage returns an empty string as you are simple setting it back to an empty string...
<Eljay> "Problems encountered: shit blew up"
|
|
01-13-2010 12:49 PM |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: Messenger.MyPersonalMessage empty ?!
Cyril have a look at this thread. The creator and a few users were having the same issue.
Scripting Error
And get the latest PLSC from this post: matty's reply to Scripting Error
This post was edited on 01-13-2010 at 02:03 PM by matty.
|
|
01-13-2010 01:55 PM |
|
|
ArkaneArkade
Full Member
The One and Only
Posts: 193 Reputation: 5
39 / /
Joined: Mar 2007
|
RE: Messenger.MyPersonalMessage empty ?!
Not meaning to steal the thread, but I've often had this problem with Messenger.MyCurrentMedia instead of Messenger.MyPersonalMessage. This seems to happen most times, but another script I have doesn't have the same issue, while running at the same time.
When debugging, OnEvent_MyMediaChange will toggle, but leaves nothing, as described in the OPs post. The other script on the other hand does get the correct Media.
- Also as a note to that, both scripts were derived from each other, but the name of the one that works is XBMC, and the non-working is X360, so I don't think the issue is caused by script ordering (unless Plus! orders numericals after alphabeticals).
Don't know if it really is the same problem, but just in case that may help anyone with knowledge to diagnose the problems, and hopefully not hinder.
|
|
01-13-2010 03:01 PM |
|
|
AngelDevil
Full Member
MsgPlus! Script Developer
Posts: 175
34 / /
Joined: Jun 2007
|
RE: Messenger.MyPersonalMessage empty ?!
An optimal solution is to save the PSM (on Registry) when disconnecting Windows Live Messenger, and reloading it when Messenger starts or user signs in.
But it doesn't work if the user don't change the Psm in the previous session, I think.
quote: Originally posted by Patchou
When you say the PSM is empty when the timer is called, are you sure it happens while you're signed-in?
It happens when you sign in and you don't change the actual Psm.
This post was edited on 02-23-2010 at 07:47 PM by AngelDevil.
|
|
02-23-2010 02:13 PM |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: Messenger.MyPersonalMessage empty ?!
Out of curiosity are you guys signing into WLM from a different location and changing the PSM there? If so I am wondering if it is something to do with the DP/PSM synching in WLM then...
|
|
02-23-2010 03:00 PM |
|
|
AngelDevil
Full Member
MsgPlus! Script Developer
Posts: 175
34 / /
Joined: Jun 2007
|
RE: Messenger.MyPersonalMessage empty ?!
quote: Originally posted by matty
Out of curiosity are you guys signing into WLM from a different location and changing the PSM there? If so I am wondering if it is something to do with the DP/PSM synching in WLM then...
I'm always signing into WLM from the same location... if I create the simple script:
code: function OnEvent_Initialize(MessengerStart)
{
Debug.Trace(Messenger.MyPersonalMessage);
}
it returns an empty string (without changing Psm before)...
|
|
02-23-2010 05:55 PM |
|
|
Pages: (3):
« First
[ 1 ]
2
3
»
Last »
|
|