Jump to content
Sign in to follow this  
Ed_Maximized

Control under mouse

Recommended Posts

Ed_Maximized

Sorry guys (and girls) but I can´t find it in the forums... And I'm sure someone of you have done it...

I need a function that give me the ControlID of the control under the mouse pointer... exactly the same way as AutoIt Window Info does...

Thanks in advance...

Share this post


Link to post
Share on other sites
Xenobiologist

Hi,

search for Hoover maybe it helps.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
SmOke_N

Almost the same thread title as this one.

http://www.autoitscript.com/forum/index.ph...st&p=207509


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Ed_Maximized

"exactly" is not so easy, because AutoIt uses EnumWindows... however... WinGetClassList gives you the controls in the same order that AU3Info sees them. Get the ControlGetPos of the controls and use the "last" control that contains the mouse points.

Lar.

Thank you both... Mega and Lar :lmao:

Share this post


Link to post
Share on other sites
Ed_Maximized

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  

×