sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35074
Re: [Question #272260]: name of image passed to function
Question #272260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272260
Status: Answered => Open
rblack is still having a problem:
Thank you RaiMan!
Yes, i want to make complex automated reports, when an image will be not found.
Info about Pattern object type helped!
The output from str(image) is:
P(1444234433282.png) S: 0.7 T: 103,2
But:
image.getFilename() # a Pattern method
outputs absolute path, which is more usefull (the image can be sent automatically to email thanks to that)
i.e.:
/home/user/sikuli/scripts/script.sikuli/1444234433282.png
I understand that, to access getFilename() i need to pass always Pattern object to function.
Can I force that somehow without manually setting each image target offset or similarity level?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.