Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Live Messenger > .BAT file to sign out or appear offline?

Reply
Thread Tools Display Modes

.BAT file to sign out or appear offline?

 
 
BrutalSpoon
Guest
Posts: n/a

 
      09-01-2009
I'm trying to find a way to automatically sign out or appear offline at a
certain time. I'm under the impression that the best way to do it is to
create a .bat file and run it as a scheduled task using Window's Scheduled
Tasks utility.

Anybody know what code I would need to use to do this? Or is there an
easier/better solution?
 
Reply With Quote
 
 
 
 
Jonathan Kay [MVP]
Guest
Posts: n/a

 
      09-02-2009
Greetings BrutalSpoon,

Well you could also use Messenger's COM control and do it that way (via Windows Scripting
Host or other method), however, a batch file would work fine too.

Just run Messenger's executable at the appropriate time with the right parameter. In your
case you'll want /invisible or /signoutal (see
http://messengergeek.spaces.live.com...DA1!2651.entry for a list).

And actually you don't really need to do a batch, you can just run Messenger directly - so
your task looks like this:
http://messenger.jonathankay.com/screens/basictask.png

--
Jonathan Kay
Microsoft MVP - Windows Live Messenger
MSN Messenger/Windows Messenger
MessengerGeek Blog: http://www.messengergeek.com
Messenger Resources: http://messenger.jonathankay.com
(c) 2009 Jonathan Kay - If redistributing, you must include this signature or citation
--




"BrutalSpoon" <> wrote in message
news:AD32336A-A2E3-4530-961D-...
> I'm trying to find a way to automatically sign out or appear offline at a
> certain time. I'm under the impression that the best way to do it is to
> create a .bat file and run it as a scheduled task using Window's Scheduled
> Tasks utility.
>
> Anybody know what code I would need to use to do this? Or is there an
> easier/better solution?



 
Reply With Quote
 
BrutalSpoon
Guest
Posts: n/a

 
      09-02-2009

Thanks a bunch, that sorted things out perfectly. I'd looked all over the web
for those status properties but couldn't find them anywhere.
 
Reply With Quote
 
Jonathan Kay [MVP]
Guest
Posts: n/a

 
      09-03-2009
Hi,

What were you searching for? I might edit my blog entry to include some key words you were
searching for so others can find it.

--
Jonathan Kay
Microsoft MVP - Windows Live Messenger
MSN Messenger/Windows Messenger
MessengerGeek Blog: http://www.messengergeek.com
Messenger Resources: http://messenger.jonathankay.com
(c) 2009 Jonathan Kay - If redistributing, you must include this signature or citation
--


"BrutalSpoon" <> wrote in message
news:E62128A7-0E96-4E6F-80F0-...
> Thanks a bunch, that sorted things out perfectly. I'd looked all over the web
> for those status properties but couldn't find them anywhere.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Message 80070005 installing WMP Godenjoyer Windows Media Player 7 08-08-2009 09:18 PM
WSUS server 0x8024400e & 0x80072ee2 errors reported by all clients Grég Windows Server 4 05-06-2006 01:25 PM
Re: New Win2003 Server Offline File - Server Unavailable constantl kde Windows Server 0 03-15-2006 03:21 PM
Is there are good place for me to go investigate the pro and cons. Froglips Windows 64 Bit 13 11-19-2005 12:09 AM
Determining if an installer is 16-bit zion Windows 64 Bit 12 11-10-2005 09:20 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59