Monday, October 03, 2011

Office Communicator 2007 - send message

It would have been nice if there was a command line way of sending message from office communicator. Googled and did not found anything. Finally created a fragile scritp using WSHShell . It is fragile but it works and saves time for me.

option explicit

' Global variable to hold the initials and name mapping.' Commandline may have initials in place of the name.dim NamesSet Names = CreateObject("Scripting.Dictionary")Names.Add "C1", "Contact1"Names.Add "C2", "Contact2"Names.Add "C3", "Contact3"