jatype.py
import pyautogui as pag
pag.hotkey('hanja')
pag.typewrite('tesuto')
Save the Japanese you want to enter using pyperclip to the clipboard, and copy and paste with ctrl + v.
jatype.py
import pyautogui as pag
import pyperclip
pyperclip.copy("Test, test")
pag.hotkey('ctrl','v')
Recommended Posts