Re: [Sikuli-driver] [Question #689535]: Windows 10 lost keyboard interactivity
Question #689535 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689535 Status: Answered => Solved Sergey Taranenko confirmed that the question is solved: Thanks! Settings.AutoDetectKeyboardLayout=False this option completely returned the keyboard to work, in all versions 2.0.2, 2.0.3, 2.0.4 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #263411]: type not typing Russian letters
Question #263411 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263411 Sergey Taranenko posted a new comment: from java.awt.im import InputContext def getKeyboardLang(): return InputContext.getInstance().getLocale().toString() lng = getKeyboardLang() if lng == "ru_RU": type(u'\u043a') # u'\u043a') = rus "ะบ" http://www.fileformat.info/info/unicode/char/search.htm?q=%D0%BA=entity elif lng == "en_US": type("r") -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #689535]: Windows 10 lost keyboard interactivity
New question #689535 on Sikuli: https://answers.launchpad.net/sikuli/+question/689535 Today I found that I completely lost the ability to emulate the impact of the keyboard. This is probably a security problem for Java or Windows, after the last update. Two days ago - everything worked perfectly. Today, not a single method of influencing the keyboard works, at the same time, the mouse cursor works well, as before. TestProg: wait(3) #hire i manually change focus to notepad type("1") keyDown("2") wait(0.2) keyUp("2") paste("3") ex = exists("1585307127221.png", 0) hover(ex) -- [debug] TYPE "1" [debug] Region: TYPE "1" [debug] Image: loaded: 1585307127221.png (file:D:\Nextcloud\projects\SikuliX\test2.sikuli\1585307127221.png) [debug] Image: cached: 1585307127221.png (5 KB) (# 1 KB 5 -- 0 % of 64 MB) [debug] Region: exists: waiting 0,0 secs for 1585307127221.png to appear in R[0,0 3840x1600]@S(0) [debug] Finder2: makeMat: INT_RGB (3840x1600) [debug] Finder2: makeMat: 3BYTE_BGR (50x35) [debug] Finder2: doFindImage: start (stdDev: 242,4556 mean: 219,542857) [debug] Finder2: doFindImage: in original: %100, (?70) 446 msec [debug] Finder2: doFindImage: end 446 msec [debug] Region: exists: 1585307127221.png has appeared (M[307,925 50x35]@S(0) S:1,00 C:332,942 [582 msec]) [debug] Region: hover: M[307,925 50x35]@S(0) S:1,00 C:332,942 [582 msec] --- Windows 10 x64 - Current, last updated Java jre1.8.0_241 (x64) Sikulix ide 2.0.2 , 2.0.3 , 2.0.4 (tested in all last ver) Jython 2.7.1 , 2.7.2b3 reboot, reinstal java , reinstall jython , run with admin priv - not help me any way for diagnostic ? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #688868]: get current keyboard Layout
Question #688868 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688868 Status: Answered => Open Sergey Taranenko is still having a problem: Well, what other methods are there to solve the problem? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #688868]: get current keyboard Layout
New question #688868 on Sikuli: https://answers.launchpad.net/sikuli/+question/688868 tell me how to know the current keyboard layout? I found the getCurrentLayout() procedure in API/src/main/java/org/sikuli/script/support/KeyboardLayout.java but it is private. what am i doing wrong ? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp