← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #150302]: i want put chinese into the edit

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
-- 1.
your major problem is, that the image named "EEEHE.png" (whatever this might be) cannot be found on the screen:
near the end of the error message:
FindFailed: can not find Pattern("EEEHE.png").similar(0.7).targetOffset(-94,7) Line 2,

-- 2.
type cannot be used to type some characters found on the standard US-keyboard layout (read: faq 933).

-- 3. 
when finally trying paste() instead, you might try to use unicode strings:
in your case: 
chineseString = u"中国"
paste(chineseString)

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