Git Product home page Git Product logo

Comments (9)

FranAitch avatar FranAitch commented on September 8, 2024

Tried to implement your fix, now the doubleClick doesn't click anymore at all, and the normal click with clicks=2 argument still clicks too slowly for it to be accepted as a double-click. It's entirely possible I messed up copy&pasting, but I don't get any errors or anything. (I'm on Sierra 10.12.)

from pyautogui.

HesselM avatar HesselM commented on September 8, 2024

Interesting, did you try to pull the fork from https://github.com/HesselM/pyautogui ? At El Capitan it seems to be working. At least, in my setup ( https://github.com/HesselM/Mouser ) double-click is properly registered.

from pyautogui.

FranAitch avatar FranAitch commented on September 8, 2024

EDIT3: okay, I finally sorted it out, I think. First I forgot to run the setup.py from your fork (can you tell it's the first time I didn't use pip?) and then the issue was that I didn't know the window had to be active for the double click to work. When you double click manually, it doesn't matter whether Finder active, it works either way. If you do it with pyautogui, Finder needs to be active first and then your fix works perfectly. Thanks again! (Also thank your patience, in case I accidentally spammed your inbox.)

from pyautogui.

asweigart avatar asweigart commented on September 8, 2024

This person seems to be having the same problem: https://stackoverflow.com/questions/39971605/pyautogui-doubleclick-not-working-on-osx

from pyautogui.

HesselM avatar HesselM commented on September 8, 2024

@FranAitch : Sorry for the delay, but awesome that you got it working!
@asweigart : True, but the response of ca5aw refers to pull request #72, which I created a couple of months ago with a fix. (At least, the fix works for me and is seems it works for FranAitch too)

from pyautogui.

asweigart avatar asweigart commented on September 8, 2024

@HesselM I'll look at your fix tonight (or tomorrow). I finally have my hands on a Mac to do testing on.

from pyautogui.

dtopuzov avatar dtopuzov commented on September 8, 2024

Any update on this?

from pyautogui.

woodfairy avatar woodfairy commented on September 8, 2024

It is 2021 and I am still having issues with double clicks. It is not working, single clicks are performed all the time, but there is no double click being recognized.

from pyautogui.

LFL20171121 avatar LFL20171121 commented on September 8, 2024

it it 2022.10, and I also have the same problem with doubleClick function, it seems to be a single click and the duration keeps 0.0
on MacOS 12.6 m1

from pyautogui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.