What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] MS Agent catching clicks

[Help] MS Agent catching clicks
Author: Message:
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
Joined: May 2004
Status: Away
RE: RE: [Help] MS Agent catching clicks
quote:
Originally posted by cloudhunter
Unfortuneately, it seems like it can't within the scripting system :( As it doesn't register any events apart from the built in one. I've researched it myself, but with no luck.

Cloudy

It can, and here's how.  Add this format for a variable to your code somewhere (outside other functions):

code:
var Clicked = function(){
    function agent::Click(dwCharID,fwKeys,x,y){
        MsgPlus.DisplayToast('Clicked','You clicked Merlin!');
    }
}

Assuming your ActiveXObject("Agent.Control.1") is called "agent".  Then when you declare the agent (eg.  in initialize) add "Clicked();"

Tested and working with that script that made him say what contacts said.  :)


EDIT:  I know this from catching events in iTunes, for iTunes+... was a pain!

This post was edited on 07-20-2006 at 11:05 PM by alexp2_ad.
07-20-2006 11:01 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] MS Agent catching clicks - by BstrdSmkr on 07-20-2006 at 09:23 PM
RE: [Help] MS Agent catching clicks - by cloudhunter on 07-20-2006 at 10:48 PM
RE: RE: [Help] MS Agent catching clicks - by alexp2_ad on 07-20-2006 at 11:01 PM
RE: [Help] MS Agent catching clicks - by ddunk on 07-20-2006 at 10:57 PM
RE: [Help] MS Agent catching clicks - by cloudhunter on 07-20-2006 at 11:04 PM
RE: RE: [Help] MS Agent catching clicks - by alexp2_ad on 07-20-2006 at 11:06 PM
RE: [Help] MS Agent catching clicks - by cloudhunter on 07-20-2006 at 11:13 PM
RE: [Help] MS Agent catching clicks - by deAd on 07-20-2006 at 11:14 PM
RE: [Help] MS Agent catching clicks - by BstrdSmkr on 07-21-2006 at 03:30 PM
RE: [Help] MS Agent catching clicks - by alexp2_ad on 07-21-2006 at 03:40 PM
RE: [Help] MS Agent catching clicks - by BstrdSmkr on 07-21-2006 at 05:08 PM
RE: [Help] MS Agent catching clicks - by deAd on 07-21-2006 at 05:52 PM
RE: [Help] MS Agent catching clicks - by BstrdSmkr on 07-22-2006 at 02:53 PM


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