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

    Status: Open => Answered

RaiMan proposed the following answer:
Supposing image3 is a shot of the empty field containing the mentioned
__/__/__

if this is true, then you have to adjust the target offset, so that after the 
click, the input cursor is at the beginning of the field.
Use the Preview in the IDE (click on thumbnail) to adjust the target offset 
correctly.

with a correct target offset this should be working:

Pattern image3 = new Pattern(".\\image\\dob.png").targetOffset(x, y);

Match m = m_screen.wait(image3, 2.0);

m_screen.type(m, "10101990"); // this form of type does a click first
internally

A Match remembers the target offset given with the Pattern.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to