← Back to team overview

sikuli-driver team mailing list archive

[Question #289832]: In matching preview it can find but it fails in script

 

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

I create a script in PC 1, then I copy the script to PC 2.
But it can't work, it can't find the image, but in matching preview function it can find.
my code:
if exists(Pattern("image.png").exact(),1):
    a = 1
else:
    a = 0
print(a)

It always print 0.


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