← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #207360]: Java: How to slow down a key combination

 

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

Boipelo Mawasha posted a new comment:
Thanks a lot guys.

It worked, but I had to tweak it. It seems that the ALT key has to be
pressed first for this to work. Here's the code I used:

s.keyDown(Key.ALT);
s.wait(0.3);
s.type(null,Key.SPACE + "n", 0);
s.keyUp(Key.ALT);

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.