Can I change my messenger status with a script?

Can I change my messenger status with a script?

Post by amtqa2p » Mon, 27 Aug 2007 21:30:01


Hi everybody out there...
does everybody know about a script (preferrably in VBScript or VB2005) with
which I would be able to change my status in Live Messenger (7.x, 8.x), e.g.
from "online" to "not at the computer". (I do not want to logoff and log on
again, its just to simplify a change in status when I#m away...)
Or, alternatively: Does an API exist?

Thanks a lot, have a nice, sunny day...
jkjkjk
 
 
 

Can I change my messenger status with a script?

Post by Jonathan K » Mon, 27 Aug 2007 21:44:12

Greetings jkjkjk,

There's an API but it's not officially documented and as such, you may have a bit of
difficulty if you're looking to just do something quick in VB.

However, you cannot create an custom status with the current Messenger protocol, regardless
what you code up. What you can do however is add something to your display name to indicate
you're true status (or in your personal status message). You don't even need to code
anything for this and if you wish for this to happen automatically, just use Messenger Plus
Live ( http://www.yqcomputer.com/ ).

However, since you're interested, here are the current API options...
There is a managed Add-In API (documented!) which works in Live Messenger exclusively (no 7.x
support):
http://www.yqcomputer.com/
However, there isn't a lot you can do with it, beyond sending messages and nudges.

A third solution is to use the Messenger Plus Live Scripting API which arguably will require
Plus, but should continue working as long as Plus is available as well as being completely
documented too. You can learn about the Plus scripts here:
http://www.yqcomputer.com/

--
Jonathan Kay
Microsoft MVP - Windows Live Messenger/MSN Messenger/Windows Messenger
Associate Expert
http://www.yqcomputer.com/
Messenger Resources - http://www.yqcomputer.com/
All posts unless otherwise specified are (c) 2007 Jonathan Kay.
You *must* contact me for redistribution rights.

 
 
 

Can I change my messenger status with a script?

Post by amtqa2p » Mon, 27 Aug 2007 21:56:00

*WOW* - that was fast!

Hi Jonathan,
thanks a lot for your answer. It seems as if I would have to read a bit and
then spend a bit more effort than just creating a small VBScript. Perhaps I
will try to implement something in VB2k5, on another weekend, as it is really
sunny over here in Germany....
... or I wait for things to come with Messenger 8.5 - seems to have an API,
which is more cabable... according o another site I found while searching...

... wishing the same sunny day to Jonathan and to the rest of forum readers
;-)

-jkjkjk-
 
 
 

Can I change my messenger status with a script?

Post by Jonathan K » Wed, 29 Aug 2007 01:50:00

i,

Many years ago it wasn't that difficult to play around with Messenger in VBScript or VB but
due to some changes within the corporate structure at Microsoft and some product decisions,
it's become amazingly complex.

Every Messenger version has an API (it's a Microsoft application after all) -- getting to it,
using it, and figuring it out is the problem.

It was a nice sunny day yesterday, thanks!

--
Jonathan Kay
Microsoft MVP - Windows Live Messenger/MSN Messenger/Windows Messenger
Associate Expert
http://www.microsoft.com/windowsxp/expertzone/
Messenger Resources - http://messenger.jonathankay.com
All posts unless otherwise specified are (c) 2007 Jonathan Kay.
You *must* contact me for redistribution rights.

"jkjkjk" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...