What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Script for webcam?

Script for webcam?
Author: Message:
Hen
Junior Member
**


Posts: 37
Joined: Aug 2007
O.P. RE: Script for webcam?
Hi,
When I opened the windows visual basic => Tools => reference, I added the Messenger API.
Browsing the "object browser" and then looking under IMessenger2 there is this function:
Messenger.StartVideo (vContact)

Why doesn't it work? :
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
var Contacts = ChatWnd.Contacts;  // Deafult will be current chat window, or do I need to specify this?
var e = new Enumerator(Contacts);
var Contact = e.item();  // Assume a chat window with only one contact, no need to iterate
Debug.Trace(Contact.Email)
if (Message.match("Camera")!=null){
Messenger.StartVideo(Contact)
}
}

Do I need to use "Interop::Call " ? - if so, how?
Also the "Debug.trace" doesnt show the contact email in the debug window.

Cheers,
Hen.
05-01-2009 10:24 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script for webcam? - by Hen on 03-11-2009 at 09:09 AM
RE: Script for webcam? - by mynetx on 03-11-2009 at 09:59 AM
RE: RE: Script for webcam? - by Hen on 03-11-2009 at 03:47 PM
RE: Script for webcam? - by mynetx on 03-11-2009 at 04:28 PM
RE: Script for webcam? - by Hen on 03-12-2009 at 10:39 AM
RE: Script for webcam? - by timeshifter on 03-16-2009 at 12:11 PM
RE: Script for webcam? - by CookieRevised on 03-17-2009 at 05:21 AM
RE: Script for webcam? - by timeshifter on 03-17-2009 at 11:57 AM
RE: Script for webcam? - by Spunky on 03-17-2009 at 12:24 PM
RE: Script for webcam? - by Hen on 05-01-2009 at 10:24 AM
RE: Script for webcam? - by Spunky on 05-01-2009 at 10:50 AM
RE: Script for webcam? - by Hen on 05-01-2009 at 02:47 PM
RE: Script for webcam? - by matty on 05-01-2009 at 02:52 PM
RE: Script for webcam? - by Spunky on 05-01-2009 at 05:50 PM
RE: Script for webcam? - by CookieRevised on 05-04-2009 at 03:51 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On