← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #652975]: capture image automatically in a specific location

 

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

RaiMan proposed the following answer:
@rekem
How do you know, that keyDown(Key.SHIFT) does not work?

a simple test:
take care, that some editor window is the frontmost application or something else, that accepts input.

keyDown(Key.SHIFT)
type("a")
KeyUp()

should enter an uppercase A

If this works, then the most probable cause for a not-working keyDown() is that the game blocks non-human keyboard actions.
Try to run the IDE or the script as admin.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.