Jump to content

the mouse moving but not click


 Share

Recommended Posts

Hello, is there a function that forces the simulation on a window that is a priori protected, I have already tried

#RequireAdmin

ControlClick("AnyDesk","","[Text:Chat]")

Opt("MouseClickDownDelay",50)
MouseClick("left", 1177,710, 2,80) 

MouseMove(1177,710)
DllCall("user32.dll", "NONE", "mouse_event", "DWORD", 0x0002, "DWORD", 1, "DWORD", 1, "DWORD", 0, "ULONG_PTR", 0)
Sleep(250)
DllCall("user32.dll", "NONE", "mouse_event", "DWORD", 0x0004, "DWORD", 1, "DWORD", 1, "DWORD", 0, "ULONG_PTR", 0)

All this function works elsewhere on the screen but on the window that I want it does not work.

Thank you in advance for your help

Link to comment
Share on other sites

All apss do not use Window messages to accomplish some tasks.  Ones can decide to interact directly with the driver.  They may decide to do so to shortcut some bots trying to automate their application.  You are maybe facing this situation.

Link to comment
Share on other sites

23 hours ago, Nine said:

All apss do not use Window messages to accomplish some tasks.  Ones can decide to interact directly with the driver.  They may decide to do so to shortcut some bots trying to automate their application.  You are maybe facing this situation.

If so, how to simulate a click like a real human with autoit

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...