← 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

RaiMan proposed the following answer:
@ scott
principally ok and should be the solution with some added waits.

Screen s = new Screen();
s.keyDown(Key.SPACE); // press and hold the SPACE key
s.wait(0.3);
s.type(null, 'n', KeyModifier.ALT); // type "CTRL + N"
s.keyUp(Key.SPACE); // release the SPACE key

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