-
-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
Checklist
- I use the latest release of atbswp
- The issue is not existing yet
Verbose log
PASTE VERBOSE LOG HERE
Miscellaneous information
Operating System
Windows 10
Desktop Environment/Window Manager
Write here
Python version
3.11
Description
KeyDown doesn't work with spanish "ñ" (it doesn't break, but doesn't print anything).
Possible solution in Windows 10 at least:
In HEADER, add:
f"# -- coding: ISO-8859-1 --\n"
f"import pyperclip\n"
in on_press add:
if key.char == 'ñ':
self._capture.append("pyperclip.copy('ñ')")
self._capture.append("pyautogui.hotkey('ctrl', 'v')")
elif key.char == 'Ñ':
self._capture.append("pyperclip.copy('Ñ')")
self._capture.append("pyautogui.hotkey('ctrl', 'v')")
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels