jacexh / pyautoit

Python binding for AutoItX3.dll

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

control click not working on LDPlayer?

opened this issue · comments

i am trying out with this piece of code
autoit.control_click('LDPlayer(64)', '[CLASS:subWin; INSTANCE:1]', button='left', x=87, y=820)

when i ran it, no errors found but is not clicking at the coords. I am not sure what is happening since no error?

Posting the solution that worked for me. Hoping it will work for others too.
My environment:
Python Version: 3.12
PyAutoIt Version: 0.6.5
Solution: Copy the AutoItX3.dll and AutoItX3_x64.dll from Autoit Install Directory (v3.3.16.1)\AutoItX to Python's autoit Install directory\lib