sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06768
Re: [Question #177994]: Comparing screenshots dynamically
Question #177994 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/177994
Status: Open => Answered
RaiMan proposed the following answer:
LOL, rolling on the ground ....
Since we MOVE the image file, before it is used by the Finder, it can surely not be found any more in the temp folder.
So lets LOL together.
so this should do it finally:
capreg = Region(887,85,512,384)
img = os.path.join(savedir, str(int(time.time())))+".png"
shutil.move(capture(capreg), img)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.