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

Fixes #698 #700

Open Jarno-de-Wit opened 2 years ago

Jarno-de-Wit commented 2 years ago

Fixes issue #698 which leads to a crash on MacOS whenever tripleClick was called due to missing an argument in string formatting.

JayRizzo commented 2 years ago

Adding here:

Verified.

import pyautogui

pyautogui.tripleClick(150, 150)
pyautogui.tripleClick(logScreenshot=True, x=150, y=150)

Both worked as expected with this change on my MBP.

Thanks @Jarno-de-Wit !

codespearhead commented 6 months ago

@JayRizzo Do you have merging permissions in this repository?