[help] Initiate Voice Chat from a script - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [help] Initiate Voice Chat from a script (/showthread.php?tid=87825)
[help] Initiate Voice Chat from a script by denizzz on 12-18-2008 at 06:17 PM
Hello,
I am new to Messenger Plus! and I am not sure if I can switch from using Messenger API to Messenger Plus! scripting.
Is it possible to initiate a voice chat with a given contact from the script automatically?
Here is how I was doing it using MEssenger API
------
Public WithEvents msn As MessengerAPI.Messenger
msn.StartVoice "some@email.com"
------
f it is possible will I be able to monitor the result of the Voice Chat request ( whether the conversation has started, ended or maybe it was declined etc)
Thank you,
I hope for an answer from the community.
RE: [help] Initiate Voice Chat from a script by denizzz on 12-19-2008 at 01:04 AM
well, It looks like there is no other way but to use an ActiveX to create such session.
Now I run into into another problem. When I am trying to close voice chat window i always get a confirmation alert message.
Is it possible to disable the alert message ?
I have tried different ways to close the chat window
ChatWnd.SendMessage("/close");
and
Interop.Call("user32", "SendMessageW", ChatWnd.Handle, 0x10 /*WM_CLOSE*/, 0,0);
both of them result in confirmation message.
Please advice you know what can be done
|