← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #156443]: how to use the paste function to input chinese

 

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

coldtest posted a new comment:
I'm sorry to make a mistake because I'm too exciting . the correct
change of code  is :

at second , I modify the test.py :
modify the sentence : seach_key = u'梅西'  to  seach_key = '梅西',  it must delete the 'u' before the unicode words.

when I run the test.py, yes , It's successly to search what I want .
D:\script\jy>jython test.py
"C:\Program Files\Java\jre6\bin\java" -Dfile.encoding=utf-8 -Xmx512m
-Xss1152k
 -Dpython.home="D:\jython2.5.2"
-Dpython.executable="D:\jython2.5.2\jython.bat"
 -classpath
"D:\jython2.5.2\jython.jar;.;D:\jython2.5.2\sikuli-script.jar;D:\Pro
gram Files\Sikuli\sikuli-script.jar" org.python.util.jython test.py
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
[log] App.focus C:\Program Files\Internet Explorer\IEXPLORE.EXE(0) #0
[log] CLICK on (509,126)
[log] TYPE "
"
[log] CLICK on (668,389)
[log] CLICK on (829,428)

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