Google Translate.
Hello.
You can tell how to implement switch keyboard layout through Python
on the Internet found that you need to use this code:
import win32api
win32api.LoadKeyboardLayout ("00000409", 1)
but at its execution produces an error in the log:
python ready
Line: 1 >> import win32api
ImportError: No module named win32api
I downloaded pywin32-223.win32-py2.7.exe and unpacked it and copied the contents it into
"VoxCommando\plugins\PY\Lib\site-packages"
At me it left here so on pic.1 but the error remained.
what am I doing wrong?
and if you are not complicated then you can tell how to do the following. command
checking the current layout of the language
if the layout is equal to Russian, then switch it to English
Thanks!