← Back to team overview

sikuli-driver team mailing list archive

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

 

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

i want search something in google
but the key of search is chinese  
in the sikulIDE ,my code is
click( )  note:the click object is IEPLORE
type( ,"中国") note:i put the key in the google home

now the question is
when i excute is code,the program will done and put some errormessage
the errormessage is
thank for your answer

[error] 错误信息: Traceback (most recent call last):  File "F:\Users\qw\AppData\Local\Temp\sikuli-tmp2259224127046214228.py", line 2, in    type(Pattern("EEEHE.png").targetOffset(-94,7),"涓浗")  File "F:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Region.py", line 165, in type  Line 2, in file F:\Users\qw\AppData\Local\Temp\sikuli-tmp2259224127046214228.py   at org.sikuli.script.Region.handleFindFailed(Region.java:349)  at org.sikuli.script.Region.wait(Region.java:420)  at org.python.proxies.sikuli.Region$Region$1.super__wait(Unknown Source)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)   org.sikuli.script.FindFailed: FindFailed: can not find Pattern("EEEHE.png").similar(0.7).targetOffset(-94,7)  Line 2, in file F:\Users\q 
w\AppData\Local\Temp\sikuli-tmp2259224127046214228.py



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