jacky998877 Posted February 21, 2023 Share Posted February 21, 2023 how to active a window that is under the mouse, not by clicking it? Link to comment Share on other sites More sharing options...
SOLVE-SMART Posted February 21, 2023 Share Posted February 21, 2023 (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 February 21, 2023 by SOLVE-SMART jacky998877 1 Stay innovative! Spoiler 🌍 Au3Forums 🎲 AutoIt (en) Cheat Sheet 📊 AutoIt limits/defaults 💎 Code Katas: [...] (comming soon) 🎭 Collection of GitHub users with AutoIt projects 🐞 False-Positives 🔮 Me on GitHub 💬 Opinion about new forum sub category 📑 UDF wiki list ✂ VSCode-AutoItSnippets 📑 WebDriver FAQs 👨🏫 WebDriver Tutorial (coming soon) Link to comment Share on other sites More sharing options...
Solution Nine Posted February 21, 2023 Solution Share Posted February 21, 2023 Look at this thread. We have been largely discussing about your request (although a tad in different way). All you need is in there : jacky998877 and baconaise 2 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy 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