Jump to content

Recommended Posts

Posted

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 ? 

  • Moderators
Posted

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!

Guest
This topic is now closed to further replies.
×
×
  • Create New...