← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #172675]: Key event for pressing shift+left arrow

 

Question #172675 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/172675

    Status: Open => Answered

RaiMan proposed the following answer:
click(<some-image>) # your click to get focus
keyDown(Key.SHIFT)
for i in range(3): 
    type(Key.LEFT)
keyUp()
type("c", KeyModifier.CTRL")
text = Env.getClipBoard()

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