code:
try{
var MessengerAPI = new ActiveXObject("Messenger.UIAutomation.1");
} catch(exception){
Debug.Trace("Error occured creating the messenger API object, make sure you have windows messenger installed");
}
var MessengerWnd = MessengerAPI.IMessengerWindow;
MessengerWnd = MessengerAPI.Window;
Thats how I'm calling it... Doesn't seem to do any harm