How to hold a key
Asked by
Adam Pospelovsky
Hi,
I just need to make Sikuli holding a CTRL key while running a function. How can I do that?
Something like a:
def myFunction ():
hold(Key.CTRL) // still hold this until the for is finished
for x in findAll(
click(x)
and then call a function like this:
myFunction();
Is that possible?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- masuo
- Solved:
- Last query:
- Last reply:
To post a message you must log in.