← Back to team overview

sikuli-driver team mailing list archive

[Question #680931]: How to hold a key

 

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

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 ():
     for x in findAll("someimage.png"):
    hold(Key.CTRL)
    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.