Re: [Sikuli-driver] [Question #698795]: Find Any Addition / removal of file in directory in parallel

2021-09-21 Thread Chetan
Question #698795 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698795 Chetan confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX.

Re: [Sikuli-driver] [Question #698795]: Find Any Addition / removal of file in directory in parallel

2021-09-21 Thread Chetan
Question #698795 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698795 Status: Answered => Solved Chetan confirmed that the question is solved: Thanks a ton raiman -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #698795]: Find Any Addition / removal of file in directory in parallel

2021-09-21 Thread RaiMan
Question #698795 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698795 RaiMan proposed the following answer: based on the baeldung example: import java.nio.file.FileSystems as FileSystems import java.nio.file.Paths as Paths import java.nio.file.StandardWatchEventKinds as Watch

Re: [Sikuli-driver] [Question #698795]: Find Any Addition / removal of file in directory in parallel

2021-09-21 Thread RaiMan
Question #698795 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698795 Status: Open => Answered RaiMan proposed the following answer: Java is useable from inside Jython scripts. I will give you a sample later. meanwhile: https://www.jython.org/jython-old- sites/archive/2

Re: [Sikuli-driver] [Question #698795]: Find Any Addition / removal of file in directory in parallel

2021-09-20 Thread Chetan
Question #698795 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698795 Status: Answered => Open Chetan is still having a problem: ok. however our scripts are in python. would it work inside our py scripts? -- You received this question notification because your team Siku

Re: [Sikuli-driver] [Question #698795]: Find Any Addition / removal of file in directory in parallel

2021-09-20 Thread RaiMan
Question #698795 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698795 Status: Open => Answered RaiMan proposed the following answer: Since we are on Jython/Java, you can try with: https://www.baeldung.com/java-nio2-watchservice The are solutions for Python (e.g. watchdo

[Sikuli-driver] [Question #698795]: Find Any Addition / removal of file in directory in parallel

2021-09-20 Thread Chetan
New question #698795 on SikuliX: https://answers.launchpad.net/sikuli/+question/698795 hello i would like to have a listener which highlights me if any file is added / removed in a directory Usage: i have an application that crashes and creates a dump file in a folder. which get uploaded and th