jacexh / pyautoit

Python binding for AutoItX3.dll
MIT License
269 stars 74 forks source link

control click not working on LDPlayer? #39

Open ghost opened 2 years ago

ghost commented 2 years ago

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?

Wizard0f0zz commented 9 months ago

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