sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54524
Re: [Question #688868]: get current keyboard Layout
Question #688868 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688868
Status: Answered => Solved
Sergey Taranenko confirmed that the question is solved:
this work for me:
from java.awt.im import InputContext
def getKeyboardLang():
return InputContext.getInstance().getLocale().toString()
print getKeyboardLang()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.