Hi,
I just recently upgraded to Windows Live Messenger 2009. I was using WLM 8 and I had a neat plugin that automatically updated my personal status message with my twitter account.
I was sad to learn however that his plugin does not work with WLM 9. So I borrowed a bit of code from Fanatic.net modified it a bit and compiled it.
Now I have a simple command line program that can set the personal status messages with WLM 2009.
It is available here -> WLM.ZIP free for use by anyone.
Note: The actual executable file is in the "DEBUG" directory.
To Use:
Run: wlmsetpsm.exe "My New Message"
Where "My New Message" is the text you want to appear in the status message (without quotes)
Hope you find it useful.
Thursday, June 04, 2009
Windows Live Messenger 9 and Personal Status Messages
Labels:
PersonalStatusMessage,
PSM,
Windows Live Messenger,
WLM
Subscribe to:
Post Comments (Atom)
7 comments:
is it possible to get a fix of the Zip-file which won't unzip :(
Foolish me.
I xfered the file in ASCII mode.
A new version is available.
This one has only the exe, as I deleted the modified source when I uploaded the orignal zip. DOn't have time to put new source right now,
but at least you can get the exe
Thanks for this tool, but how to send Twitter status messages to the command line? Do you have a hint for that? Thanks.
It should also be great of you will make a ping.fm plugin of the code you used (I'm not a programmer, but likes to see that). http://ping.fm/apps/plugin/
Hi,
To post to twitter, you get a program called curl (windows version). It's automatically included with most linux distribution
http://curl.haxx.se/latest.cgi?curl=win32-ssl
To post to twitter the command is
curl -s --basic --user usr:password --data status="{YourMessage}" http://twitter.com/statuses/update.xml
replace usr with your twitter usrename and passwrod with your twitter paswrod
Replace {YourMessage} with the message you want posted
If you want to use ping.fm
Get the "wget" program for windows (also automatic with linux)
http://pages.interlog.com/~tcharron/wgetwin.html
then run
wget --post-data 'api_key={YourAPIKEY}&user_app_key={UserAppKey}&post_method=status&body={YourMessage}' http://api.ping.fm/v1/user.post
Thanks for your quick reply. But if I understand well, this is to post to Twitter from Live Messenger. But how to get from twitter, and post to Live Messenger? What to put after the wlmsetpsm.exe program?
Oh I see, sorry I misunderstood.
To do what you want you'll need to more standard linux utilities
"grep"
http://gnuwin32.sourceforge.net/packages/grep.htm
and "sed"
http://gnuwin32.sourceforge.net/packages/sed.htm
This command will output your current tiwtter status to a file
curl http://twitter.com/statuses/user_timeline/5864162.xml?count=1 | grep -o '<text>.*<\/text>' | sed -e 's/>[^<][^>]*>//g' -e '/^ *$/d' > %TEMP%\status.dat
Replace 5864162.xml with your own twitter id (just go to your twitter page to get your id (you'll see it when you go to view the RSS feed)
You can then read the status.dat into a variable like this
SET /A STATUS =<%TEMP%\status.dat
Then you
wlmsetpsm %STATUS%
Hope this helps
Hi,
I updated the wlm.zip file to include a batch "getstatus.bat" that will read your twitter status
needs curl, sed and grep to work
Post a Comment