Jump to content

how to active a window that is under the mouse, not by clicking it?


Go to solution Solved by Nine,

Recommended Posts

Posted (edited)

Hi @jacky998877,

I would do this:

  • get a list (handles) of visible windows (or only for your target window) 
  • get window position/size of these windows (or only of your target window)
  • listen on to the mouse position (cursor) event
    • calculate the mouse position in comparison to the target window position/size
    • in case the mouse hover over your target window, bring that window in front

Best regards
Sven

Edited by SOLVE-SMART

==> AutoIt related: ๐Ÿ”— GitHub, ๐Ÿ”— Discord Server, ๐Ÿ”— Cheat Sheet

  Reveal hidden contents
  • Solution

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
ร—
ร—
  • Create New...