sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51438
[Question #680268]: Holding down CTRL+SHIFT+ALT for at least 5 seconds
New question #680268 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680268
Hi
I'm using the following to restart our software (it shuts down and relaunches)... this works :)
type(Key.F5, Key.CTRL)
Immediately after pressing CTRL+F5 the user can press CTRL+SHIFT+ALT (as a system recovery mode)
I've been trying to simulate this using..
keyDown(Key.CTRL)
keyDown(Key.SHIFT)
keyDown(Key.ALT)
After 5 seconds I then issue
keyUp()
However the system does not recognise that the 3 buttons are down.
The system only checks for the key presses when it first starts (first few seconds)
I have tried trying to gain focus to the new instance but by this time the system has restarted :(
How can I make this work.?
Thanks
IAN
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.