Jump to content
Sign in to follow this  
ray306

catching mouse events

Recommended Posts

ray306

Does anyone know if there is a way to trap mouse events in autoit? I have no trouble catching the window

events and I can catch the mouse events via javascript within the HTML. What I want to do is be able to catch the events

in autoit and subsequently act on them there.

Perhaps I'm just having a brain freeze

Thanks

Ray

Share this post


Link to post
Share on other sites
AzKay

_IsPressed() ?


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites
ray306

Thanks for the reply AzKay

_IsPressed() ?

Perhaps I was not specific enough in my description. I need to be able to find out what <form> was clicked

on an HTML page.

Thanks again

Ray

Share this post


Link to post
Share on other sites
Xand3r

hmm

not sure about this but i think something like this could work:

$window="name of the window"
$array[1000]
$i=0
while(1)
if _ispressed(01) then
$focus=ControlGetFocus($window)
$array[$i]=$focus
$i=$i+1
endif
wend
Edited by alexmadman

Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites
AzKay

He wants to know which form was clicked :3


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.