Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyboard.write being affected by the keyboard language #654

Open
LeeFuuChang opened this issue Aug 13, 2024 · 0 comments
Open

keyboard.write being affected by the keyboard language #654

LeeFuuChang opened this issue Aug 13, 2024 · 0 comments

Comments

@LeeFuuChang
Copy link

Issue

When I run the code below on different keyboard language (UK / US / TW / EN ...), the result differs.

import keyboard
import time

# wait 1 second so I can focus the text editor 
# making the 'keyboard.write' result type in editor
time.sleep(1)

keyboard.write("English 中文 한국어 Русский")

Demo

螢幕錄影 2024-08-13 晚上10 10 13

Expected behavior

It should always write English 中文 한국어 Русский regardless of the keyboard language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant