Re: [Sikuli-driver] [Question #699003]: after screen.type(pattern., "text") and screen.type(pattern, Key.Tab) focus is set to previous component instead of next

2021-10-13 Thread Hans Steenblok
Question #699003 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699003 Status: Answered => Solved Hans Steenblok confirmed that the question is solved: Instead of adding a delay after screen.type(pattern , text) I added screen.type(Key.ENTER). That solved the problem

Re: [Sikuli-driver] [Question #699003]: after screen.type(pattern., "text") and screen.type(pattern, Key.Tab) focus is set to previous component instead of next

2021-10-08 Thread Hans Steenblok
Question #699003 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699003 Hans Steenblok posted a new comment: I saw that solution someware. I tried it again but it did not solve my problem. -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #699003]: after screen.type(pattern., "text") and screen.type(pattern, Key.Tab) focus is set to previous component instead of next

2021-10-08 Thread Hans Steenblok
Question #699003 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699003 Hans Steenblok posted a new comment: void type(String text) { addScreenShot(); log(String.format("type \"%s\"", printable(text))); screen.type(text); }

Re: [Sikuli-driver] [Question #699003]: after screen.type(pattern., "text") and screen.type(pattern, Key.Tab) focus is set to previous component instead of next

2021-10-07 Thread Hans Steenblok
Question #699003 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699003 Status: Answered => Open Hans Steenblok is still having a problem: Thank you for the fast response. The image can be found. The text is placed in the correct GUI element. After the text is entered

[Sikuli-driver] [Question #699003]: after screen.type(pattern., "text") and screen.type(pattern, Key.Tab) focus is set to previous component instead of next

2021-10-07 Thread Hans Steenblok
New question #699003 on SikuliX: https://answers.launchpad.net/sikuli/+question/699003 I recently upgraded from sikuli 1.1.2 to 2.0.5 (and java 8 to java 11) and now my test fail. I have the following code: org.sikuli.script.Pattern ptrn = new org.sikuli.script.Pattern(filename); screen.type(pt