killaz219 Posted December 17, 2004 Share Posted December 17, 2004 I was wondering if there is anyway to get the control under the mouse using autoit? Kind of like the Au3spy does. Link to comment Share on other sites More sharing options...
themax90 Posted December 17, 2004 Share Posted December 17, 2004 Um, I don't think it's possible, you would have to use original windows calls and there are no functions currently that do that. But I may be wrong. Link to comment Share on other sites More sharing options...
CyberSlug Posted December 17, 2004 Share Posted December 17, 2004 I did something similar with this... which detects what control was clicked.Main idea:Use WinGetClassList to get listing of controls.... call ControlGetPos on each control and compare to mouse position... Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
themax90 Posted December 17, 2004 Share Posted December 17, 2004 (edited) Wow I didn't know it was possible. I guess it's cause those are one of the few functions I havn't used. You can create a function Like While 1 _GetControl WEnd Func _GetControl Wingetclasslist blah blah blah If something goes over mouse Confirm with mouse position show info in window endif End Func Edit:Instead of writing something I just put in descriptions. Edited December 17, 2004 by Agent Smith Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now