← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #247844]: Key.SPACE not registering

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
type("d", KeyModifier.ALT)
type(Key.SPACE)

Alt-d seems to activate the checkbox and the space is used to check it.

Might be, that a short wait in-between does the magic (gives the GUI
some time to set the focus to the checkbox):

type("d", KeyModifier.ALT)
wait(0.5)
type(Key.SPACE)

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