← Back to team overview

sikuli-driver team mailing list archive

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.