mirror of
https://github.com/trycua/computer.git
synced 2026-04-30 04:02:13 -05:00
Fix hotkeys on windows
This commit is contained in:
@@ -277,7 +277,7 @@ class WindowsAutomationHandler(BaseAutomationHandler):
|
||||
except Exception as e:
|
||||
return {"success": False, "error": str(e)}
|
||||
|
||||
async def hotkey(self, *keys: str) -> Dict[str, Any]:
|
||||
async def hotkey(self, keys: str) -> Dict[str, Any]:
|
||||
if not pyautogui:
|
||||
return {"success": False, "error": "pyautogui not available"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user