sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17898
Re: [Question #228283]: SikuliX-IDE-1.0-Win32Beta500 keyDown bug
Question #228283 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/228283
Status: Open => Answered
RaiMan proposed the following answer:
type('HA') works for me.
What is shown in the log? --- should be: [log] TYPE "HA"
May be a short wait is needed after the drag.
BTW:
type('c', KeyModifier.CTRL)
is better than
keyDown(Key.CTRL +'c')
keyUp()
since it works more than the shortcut is defined:
- press and hold CTRL
- press c
- release CTRL
this is exactly what the above type does.
or this:
keyDown(Key.CTRL +'c')
keyUp('c')
keyUp()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.