KeyModifiers causes a click()
I have an issue that I really can't figure out what happens. I have the following method which I believe is fairly straight forward, I'd like to click at a tree in my program and then use the keyboard to guide sikuli to the right items in the tree. It works when doing these combination manually, but when sikuli runs it, the first click seems to repeat itself each time I call for the type(KeyModifie
def select_
click(
type(
type(Key.RIGHT) #open a subfolder
type(
for __ in range(int(
sleep(1)
type(Key.ENTER)
From the sikuli logfile I get the following:
[log (7/17/19 2:16:10 PM)] CLICK on L(44,234)@S(0)[0,0 1920x1200]
[log (7/17/19 2:16:10 PM)] TYPE "folder_in_tree"
[log (7/17/19 2:16:12 PM)] TYPE "#RIGHT."
[log (7/17/19 2:16:13 PM)] TYPE "7"
[log (7/17/19 2:16:14 PM)] CLICK on L(44,234)@S(0)[0,0 1920x1200]
[log (7/17/19 2:16:15 PM)] TYPE "#DOWN."
[log (7/17/19 2:16:16 PM)] CLICK on L(44,234)@S(0)[0,0 1920x1200]
[log (7/17/19 2:16:16 PM)] TYPE "#DOWN."
[log (7/17/19 2:16:17 PM)] CLICK on L(44,234)@S(0)[0,0 1920x1200]
[log (7/17/19 2:16:17 PM)] TYPE "#DOWN."
[log (7/17/19 2:16:18 PM)] CLICK on L(44,234)@S(0)[0,0 1920x1200]
[log (7/17/19 2:16:19 PM)] TYPE "#DOWN."
[log (7/17/19 2:16:20 PM)] TYPE "#ENTER."
Am I doing something wrong here or is this a bug?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: