← Back to team overview

sikuli-driver team mailing list archive

[Question #443101]: I want to use Sikuli 1.0,but there`s always displayed “Settings not defined” or "imageLocator not defined" when I import org.sikuli.script

 

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



C:\Users\sdt>jython
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_111
Type "help", "copyright", "credits" or "license" for more information.
>>> import org.sikuli.script
>>>
>>> Settings.MinSimilarity=0.2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'Settings' is not defined
>>> ImageLocator.addImagePath("c:\\test")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'ImageLocator' is not defined
>>>

I can use Screen() and click mothed. when I use "Sikuli-X-1.0rc3 (r905)-win32.exe",these problems are not. can you tell me how can I do?Thx


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