[Request] "What i'm listening to" Enabled/disabled |
Author: |
Message: |
Squelettor
Junior Member
Posts: 49
Joined: Jul 2006
|
O.P. [Request] "What i'm listening to" Enabled/disabled
A script who enabled/disabled "What i'm listening to"...
|
|
07-27-2006 08:53 AM |
|
|
Silentdragon
Full Member
if(life==null && wrists) EmoAlert();
Posts: 148 Reputation: 2
34 / / –
Joined: Jun 2006
|
RE: [Request] "What i'm listening to" Enabled/disabled
Is it really that hard to click it?
|
|
07-27-2006 09:06 AM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
RE: [Request] "What i'm listening to" Enabled/disabled
This _should_ work, haven't tested it.
code: function listeningto(enable)
{
if (enable) { var value = 1 } else { var value = 0 }
new ActiveXObject("WScript.Shell").RegWrite("HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\PerPassportSettings\\" + Messenger.MyUserId + "\\ShowTransientPSM\\", value, "REG_DWORD");
}
However, there's a small problem with it still. The button does more then only setting the registry key, so when you disable it, it doesn't show the psm, it just stays on the current song and doesn't change anymore...
This post was edited on 07-27-2006 at 09:40 AM by Ezra.
|
|
07-27-2006 09:30 AM |
|
|
Squelettor
Junior Member
Posts: 49
Joined: Jul 2006
|
O.P. RE: RE: [Request] "What i'm listening to" Enabled/disabled
quote: Originally posted by Silentdragon
Is it really that hard to click it?
It is not hard, but for a script who change the psm, it is very good to disabled the "What i'm listening to"
quote: Originally posted by Ezra
This _should_ work, haven't tested it.
code: function listeningto(enable)
{
if (enable) { var value = 1 } else { var value = 0 }
new ActiveXObject("WScript.Shell").RegWrite("HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\PerPassportSettings\\" + Messenger.MyUserId + "\\ShowTransientPSM\\", value, "REG_DWORD");
}
However, there's a small problem with it still. The button does more then only setting the registry key, so when you disable it, it doesn't show the psm, it just stays on the current song and doesn't change anymore...
Yes, I have already make this..but it is useless...
Moreover, OnEvent_MyMediaChange is not send...
|
|
07-27-2006 09:56 AM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
RE: [Request] "What i'm listening to" Enabled/disabled
code: function listentoswitch()
{
enabled = new ActiveXObject("WScript.Shell").RegRead("HKCU\\Software\\Microsoft\\MSNMessenger\\PerPassportSettings\\" + Messenger.MyUserId + "\\ShowTransientPSM");
if (enabled == 1) { var value = 0; } else { var value = 1; }
new ActiveXObject("WScript.Shell").RegWrite("HKCU\\Software\\Microsoft\\MSNMessenger\\PerPassportSettings\\" + Messenger.MyUserId + "\\ShowTransientPSM", value, "REG_DWORD");
var OldMsg = Messenger.MyPersonalMessage;
Messenger.MyPersonalMessage = "";
Messenger.MyPersonalMessage = OldMsg;
}
But Indeed, this disables the feature completely, there's no way to show the psm when the currentmedia is active.
|
|
07-27-2006 10:05 AM |
|
|
Squelettor
Junior Member
Posts: 49
Joined: Jul 2006
|
O.P. RE: RE: [Request] "What i'm listening to" Enabled/disabled
quote: Originally posted by Ezra
code: function listentoswitch()
{
enabled = new ActiveXObject("WScript.Shell").RegRead("HKCU\\Software\\Microsoft\\MSNMessenger\\PerPassportSettings\\" + Messenger.MyUserId + "\\ShowTransientPSM");
if (enabled == 1) { var value = 0; } else { var value = 1; }
new ActiveXObject("WScript.Shell").RegWrite("HKCU\\Software\\Microsoft\\MSNMessenger\\PerPassportSettings\\" + Messenger.MyUserId + "\\ShowTransientPSM", value, "REG_DWORD");
var OldMsg = Messenger.MyPersonalMessage;
Messenger.MyPersonalMessage = "";
Messenger.MyPersonalMessage = OldMsg;
}
But Indeed, this disables the feature completely, there's no way to show the psm when the currentmedia is active.
It doesn't work, like Ezra say : in the contact list, "it doesn't show the psm, it just stays on the current song and doesn't change anymore..."
|
|
07-27-2006 12:58 PM |
|
|
alexp2_ad
Scripting Contest Winner
Who love the chocolate?
Posts: 691 Reputation: 26
37 / / –
Joined: May 2004
Status: Away
|
RE: [Request] "What i'm listening to" Enabled/disabled
It'd be nice to have a read/write property like Messenger.ListeningTo or something.
|
|
07-27-2006 01:02 PM |
|
|
Squelettor
Junior Member
Posts: 49
Joined: Jul 2006
|
O.P. RE: [Request] "What i'm listening to" Enabled/disabled
quote: Originally posted by alexp2_ad
It'd be nice to have a read/write property like Messenger.ListeningTo or something.
Why not, but it is not the same problem...
This post was edited on 07-27-2006 at 01:15 PM by Squelettor.
|
|
07-27-2006 01:15 PM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
RE: [Request] "What i'm listening to" Enabled/disabled
quote: Originally posted by Squelettor
It doesn't work, like Ezra say : in the contact list, "it doesn't show the psm, it just stays on the current song and doesn't change anymore..."
No, this one works, by changing the psm to empty and back it switches to psm mode, and when you enable it again it automatically switches to currentmedia mode
|
|
07-27-2006 01:43 PM |
|
|
Squelettor
Junior Member
Posts: 49
Joined: Jul 2006
|
O.P. RE: RE: [Request] "What i'm listening to" Enabled/disabled
quote: Originally posted by Ezra
quote: Originally posted by Squelettor
It doesn't work, like Ezra say : in the contact list, "it doesn't show the psm, it just stays on the current song and doesn't change anymore..."
No, this one works, by changing the psm to empty and back it switches to psm mode, and when you enable it again it automatically switches to currentmedia mode
Sorry but I have test here....just add you in your contact list and you can see that it doesn't work...
|
|
07-27-2006 01:46 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|