ConanGuy Posted August 25, 2020 Posted August 25, 2020 Hi, I am knew to AutoIt and I try to understand the ControlClick function. But when I use it, it follows my mouse coords instead of the coords in my window and only when my mouse is over this window. I just try to learn the language and I use a code that I made few years ago (just to explain the context 😊). I know that my handle is the good one, and I checked the coords with the Window Info. AutoItSetOption("MouseCoordMode", 1) Global $hwnd = WinGetHandle("[CLASS:GLFW30]") ControlClick($hwnd, "", $hwnd, $button, 1, $x, $y) ; $vars are declared in my code Any question or solution ?
Nine Posted August 25, 2020 Posted August 25, 2020 (edited) <snip> Just report and move on please. No comments necessary Edited August 25, 2020 by JLogan3o13 “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) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Moderators JLogan3o13 Posted August 25, 2020 Moderators Posted August 25, 2020 I seriously do not understand the lack of common sense here. We are literally in a PM at this moment discussing NOT REPOSTING the same question that has already been locked twice, and you go and repost it. As I told you in the PM, your disagreeing with the forum rules really means nothing; you will either adhere to them or be asked to leave. Take a week of being unable to post to figure out whether you are going to follow the rules or find another forum to bother. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Recommended Posts