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

Pages: (2): « First « 1 [ 2 ] Last »
viewing a contacts webcam
Author: Message:
CarlosHero
New Member
*

Avatar
Super Man

Posts: 11
– / Male / Flag
Joined: Oct 2009
RE: viewing a contacts webcam
thanks alot CookieRevised, and thanks for the password hint i'll ue that.

EDIT: is there a way to hide the command from me seeing it, so they can talk in like a normal message saying something like, i'll turn it on now!webcam mypassword and all i see is i'll turn it on now

This post was edited on 11-15-2009 at 10:32 PM by CarlosHero.
11-15-2009 10:03 PM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: viewing a contacts webcam
I think this'll do it:

JScript code:
var Password = "mypassword";
 
function OnEvent_ChatWndReceiveMessage(oChatWnd,sOrigin,sMessage) {
    // Only react if the command has been send by a contact and if it is a one-to-one chat
    if(oChatWnd.Contacts.Count === 1) {
        if(sMessage.search("!webcam " + Password) > 0) {
            // USe webcam only if contact sent it
            if(sOrigin !== Messenger.MyName) Interop.Call("user32","SendMessageW",oChatWnd.Handle,0x0111 /* WM_COMMAND */,40279,0);
            // Show only the rest of the message
            return sMessage.replace("!webcam " + Password,"");
        }
    }
}


With this code, one can send "Let's use th!webcam mypassworde webcam!", but onlu "Let's use the webcam!" will be shown (Only if both of you have the script though).

This post was edited on 11-17-2009 at 06:52 PM by SmokingCookie.
11-17-2009 06:46 PM
Profile PM Find Quote Report
ivano_savona
New Member
*


Posts: 1
Joined: May 2012
RE: viewing a contacts webcam
Hello

I am a new user, English is not my mother language so be kind with me !

I read the conversation because I'd like to use this script too. I copied on 2 PCs and tried to send the invitation to both the PCS... but nothing happens.

I see the message on MSN chat : Let's use the webcam!

But the webcams nevers opened. Why ?
05-02-2012 06:32 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: viewing a contacts webcam
It is possible that the code could changed slightly in WLM 2011 which wasn't out when this was posted.

I wouldn't be able to tell you what it needs to be changed to though
<Eljay> "Problems encountered: shit blew up" :zippy:
05-03-2012 12:25 AM
Profile PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


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