asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.24k forks source link

following suggestion to fix multiclick on darwin (fixes #672) #775

Closed 0x0dd4b2 closed 11 months ago

0x0dd4b2 commented 1 year ago

I'm not an expert in macOS programming, but following this issue https://github.com/asweigart/pyautogui/issues/672 and the referred stackoverflow discussion (https://stackoverflow.com/questions/1483657/performing-a-double-click-using-cgeventcreatemouseevent), I altered the code so that on my macOS (Ventura 13.3.1) multiclicks and single clicks are working again.