← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #164548]: type("4", KEY_ALT) not working?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
this is correct and should work:
type("4", KEY_ALT)

may be, you have to click somewhere before.

just ignore the fact, that KEY_ALT is black - seems to be a regex error in the IDE's word coloring.
want to see it brown: 
type(str(4), KEY_ALT) 
which is equivalent to the above.

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