mirror of
https://github.com/trycua/computer.git
synced 2026-05-04 14:11:12 -05:00
fixed hotkey parsing and double click bugs
This commit is contained in:
@@ -542,7 +542,7 @@ class MacOSAutomationHandler(BaseAutomationHandler):
|
||||
try:
|
||||
if x is not None and y is not None:
|
||||
pyautogui.moveTo(x, y)
|
||||
pyautogui.doubleClick()
|
||||
pyautogui.doubleClick(interval=0.1)
|
||||
return {"success": True}
|
||||
except Exception as e:
|
||||
return {"success": False, "error": str(e)}
|
||||
|
||||
Reference in New Issue
Block a user