What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] "What i'm listening to" Enabled/disabled

Pages: (2): « First [ 1 ] 2 » Last »
[Request] "What i'm listening to" Enabled/disabled
Author: Message:
Squelettor
Junior Member
**

Avatar

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
Profile PM Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
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
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
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.
[Image: 1-0.png]
             
07-27-2006 09:30 AM
Profile PM Web Find Quote Report
Squelettor
Junior Member
**

Avatar

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
Profile PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
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.
[Image: 1-0.png]
             
07-27-2006 10:05 AM
Profile PM Web Find Quote Report
Squelettor
Junior Member
**

Avatar

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
Profile PM Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
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
Profile E-Mail PM Find Quote Report
Squelettor
Junior Member
**

Avatar

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
Profile PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
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 :-)
[Image: 1-0.png]
             
07-27-2006 01:43 PM
Profile PM Web Find Quote Report
Squelettor
Junior Member
**

Avatar

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
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » 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