sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54962
[Question #690430]: Holding a number key button down for a few seconds
New question #690430 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690430
Hello, for my particular software, I need to hold down the "1" key for at least 3 seconds to form a binding and save a new view of the screen. I tried the following code to do this:
keyDown("1")
wait(5)
keyUp()
When I do that, Sikuli functions as if I simply pressed the button once as opposed to actually holding down the button for 5 seconds.
I've even added other mouseMove commands in between the key commands to see if that made a difference but it did not. Do you know how I could solve this issue?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.