sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26170
Re: [Question #249347]: KeyDown(Key.SHIFT) function causes Sikuli IDE1.0.1 to highlight all on any keystroke
Question #249347 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/249347
Status: Open => Answered
RaiMan proposed the following answer:
keyDown() presses and holds the given key until the next keyUp() (with
no parameters all currently held keys are released)
so I guess:
keyDown(Key.SHIFT) # press and hold shift
hover(ADS_RADIO_STATION_DETAILS_AB)
wait(1)
mouseDown(Button.LEFT)
wait(1)
keyUp() # release all keys currently held
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.