← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680931]: How to hold a key

 

Question #680931 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680931

Description changed to:
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("someimage.png"):
    click(x)

and then call a function like this:

myFunction();

Is that possible?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.