Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-18 Thread RaiMan
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 RaiMan posted a new comment: Thanks for feedback. I am happy, when you are happy ;-) all the best. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-18 Thread jhonvinage475
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Answered => Solved jhonvinage475 confirmed that the question is solved: thank RailMan, Its a pleasure to discuss with you and creat script. you are very helpful. but I had to finish yesterday.

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-18 Thread RaiMan
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Open => Answered RaiMan proposed the following answer: indeed a bit more complicated. I thought, that if you deleted duplicates in the filesystem, they would no longer show up in the visual disp

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-17 Thread jhonvinage475
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 jhonvinage475 gave more information on the question: better work but don't make good image recognition delete the wrong : # collect the image files (import os not needed in Sikuli IDE) dir = "D:\\stockage\\

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-17 Thread jhonvinage475
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Answered => Open jhonvinage475 is still having a problem: thank you for this wonderful code that helps a lot. it's a good idea to compare the directory for duplicates but I have already done t

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-17 Thread RaiMan
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Open => Answered RaiMan proposed the following answer: ok, this should do it (but not tested of course;-) # collect the image files (import os not needed in Sikuli IDE) dir = "D:\\stockage\\brus

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-17 Thread jhonvinage475
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Needs information => Open jhonvinage475 gave more information on the question: help is really appreciated thank you. The goal of this script : I have a paint program with many bruhes and i need

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-17 Thread RaiMan
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Open => Needs information RaiMan requested more information: Ok, for someone with not so much programming experience I admit the solution for that might be a challenge. Before talking about the

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-17 Thread jhonvinage475
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Answered => Open jhonvinage475 is still having a problem: Thank RaiMan your answere are much appreciated, I try to add the sample code finder but the class is very complex, sorry my level progra

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-17 Thread RaiMan
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Open => Answered RaiMan proposed the following answer: Have a look at class Finder in the docs http://sikulix-2014.readthedocs.org/en/latest/finder.html Python has a function os.listdir() to get

Re: [Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-16 Thread jhonvinage475
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Description changed to: Hello, First i wish to congratulate for this program and the help you provide. I have a directory with 221 file *.png and i need to find similar image in a software and delete : i m

[Sikuli-driver] [Question #269311]: compare directory of pictures to screen with loop

2015-07-16 Thread jhonvinage475
New question #269311 on Sikuli: https://answers.launchpad.net/sikuli/+question/269311 Hello, First i wish to congratulate for this program and the help you provide. I have a directory with 221 file *.png and i need to find similar image in a sotfware and delete : i made this simple script but