What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Getting the "What I Am Listening to Now" as a variable in VB or C++

Getting the "What I Am Listening to Now" as a variable in VB or C++
Author: Message:
jasonallen
Full Member
***

Avatar
www.jason-allen.co.uk

Posts: 127
Reputation: 2
36 / Male / –
Joined: Jul 2003
O.P. Getting the "What I Am Listening to Now" as a variable in VB or C++
Hi there,

I was wondering how you would go about getting the "What I Am Listening to Now" as a variable in VB or C++. I want to display this on a webpage. If MsgPlus is able to look at it for notifications it must be stored somewhere in memory.

Can anyone help me on this?

Thanks.
Jason.
Windows XP Professional
Windows Live Messenger 14.0.8050.1202
Messenger Plus! Live 4.79.0.342
03-10-2007 03:11 PM
Profile PM Web Find Quote Report
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
RE: Getting the "What I Am Listening to Now" as a variable in VB or C++
I think it would be hard to get it in VB or C.
But..... you can export!

For example, consider this code:
code:
function create_xh() {
try { return new ActiveXObject("Microsoft.XMLHTTP"); }
catch ( e ) {
try { return new ActiveXObject("Msxml2.XMLHTTP"); }
catch ( e ) { return false; }
}
}

is used to create an XMLHttpRequest object
(the same one used in web to make ajax requests)


Then, create a GET request to a URL.. For example your website is located at http://127.0.0.1/ and you make a file called setmypersonalmessage.php so the script can send the request to it.

code:
xh.open ('GET', 'http://127.0.0.1/setmypersonalmessage.php?' + 'password=abcdefg&s=' + encodeURI(Messenger.MyPersonalMessage), true);
xh.send ('');

The script in your web should be used to...
- check your password
- update the database wth the string recieved.

For example...
code:
<?php

if ($_GET['password'] == 'abcdefg') {
$fp = fopen('iamlistento.txt', 'w');
fwrite ($fp, $_GET['s']);
fclose ($fp);
}

?>


This post was edited on 03-11-2007 at 11:43 AM by the DtTvB.
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-11-2007 11:39 AM
Profile E-Mail PM Web Find Quote Report
jasonallen
Full Member
***

Avatar
www.jason-allen.co.uk

Posts: 127
Reputation: 2
36 / Male / –
Joined: Jul 2003
O.P. RE: Getting the "What I Am Listening to Now" as a variable in VB or C++
Wow

great idea, i'll give that a blast when i've got more time on my hands

cheers
jason
Windows XP Professional
Windows Live Messenger 14.0.8050.1202
Messenger Plus! Live 4.79.0.342
03-11-2007 06:33 PM
Profile PM Web Find Quote Report
« 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