matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: External scripts
To close the Chat Window
js code: var pChatWnd = Messenger.OpenChat('johndoe@hotmail.com');
pChatWnd.SendMessage('this is a message');
Interop.Call('user32', 'SendMessageW', pChatWnd.Handle, 0x10 /* WM_CLOSE */, 0, 0);
|
|