[Sikuli-driver] [Question #693505]: java multithreading is not parallel

2020-10-17 Thread Jaroslav Novotny
New question #693505 on Sikuli: https://answers.launchpad.net/sikuli/+question/693505 I have this runnable class: public class PatternFinder implements Runnable { private final Pattern pattern; private final Region region; public PatternFinder(Pattern pattern, Region region){

[Sikuli-driver] [Question #693497]: IntelliJ IDEA artifact.jar and ImagePath

2020-10-17 Thread Jaroslav Novotny
New question #693497 on Sikuli: https://answers.launchpad.net/sikuli/+question/693497 Hello, I am having trouble locating pattern images bundled inside .jar in IntelliJ IDEA IDE. My project is setup like this: https://i.imgur.com/rTxqZec.png And the code is: ImagePath.add("Main/patterns/")

Re: [Sikuli-driver] [Question #693505]: java multithreading is not parallel

2020-10-22 Thread Jaroslav Novotny
Question #693505 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693505 Status: Answered => Solved Jaroslav Novotny confirmed that the question is solved: I distilled my code to the smallest working example: https://notepad.pw/code/g105vjx1b And got output that I'd exp

Re: [Sikuli-driver] [Question #693497]: IntelliJ IDEA artifact.jar and ImagePath

2020-10-22 Thread Jaroslav Novotny
Question #693497 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693497 Status: Answered => Open Jaroslav Novotny is still having a problem: I made a new project just to investigate, got some new info. I was hoping it was conflict in the "main" name, b

Re: [Sikuli-driver] [Question #693497]: IntelliJ IDEA artifact.jar and ImagePath

2020-10-22 Thread Jaroslav Novotny
Question #693497 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693497 Jaroslav Novotny posted a new comment: I can provide this test project and .jar if needed. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #693497]: IntelliJ IDEA artifact.jar and ImagePath

2020-10-25 Thread Jaroslav Novotny
Question #693497 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693497 Status: Answered => Solved Jaroslav Novotny confirmed that the question is solved: Yes, all works without the trailing slash! Thanks! -- You received this question notification because your t

Re: [Sikuli-driver] [Question #693505]: java multithreading is not parallel

2020-10-27 Thread Jaroslav Novotny
Question #693505 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693505 Jaroslav Novotny posted a new comment: I did some more testing and found this performance scaling pretty much in line with both test above: https://i.imgur.com/D3qGUju.png It's array of 8 patterns each

Re: [Sikuli-driver] [Question #691666]: Find every match of multiple patterns

2020-07-04 Thread Jaroslav Novotny
Question #691666 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691666 Status: Answered => Open Jaroslav Novotny is still having a problem: Sadly that's no the case. findAnyList performs find operation for each item of the list, which results in only the best match be

[Sikuli-driver] [Question #691666]: Find every match of multiple patterns

2020-07-03 Thread Jaroslav Novotny
New question #691666 on Sikuli: https://answers.launchpad.net/sikuli/+question/691666 Hi, I can find the best matches from list of patterns using: matches = region.findAnyList(list_of_patterns) I can also find all matches of a single pattern in region using: matches = region.getAll(pattern) How

[Sikuli-driver] [Question #691935]: Are mouse and keyboard actions thread safe?

2020-07-17 Thread Jaroslav Novotny
New question #691935 on Sikuli: https://answers.launchpad.net/sikuli/+question/691935 Hi, I want to use sikuli mouse and keyboard actions from many concurrent threads in java (using sikulixapi-2.0.4). This: https://raiman.github.io/SikuliX1/javadocs/org/sikuli/script/Mouse.html leads me to

Re: [Sikuli-driver] [Question #691935]: Are mouse and keyboard actions thread safe? --- generally no!

2020-07-18 Thread Jaroslav Novotny
Question #691935 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691935 Status: Answered => Solved Jaroslav Novotny confirmed that the question is solved: Thanks for the quick response and clarification. My use case is to perform mouse clicks and type in input fie

[Sikuli-driver] [Question #698028]: capture image without saving to disk

2021-07-17 Thread Jaroslav Novotny
New question #698028 on SikuliX: https://answers.launchpad.net/sikuli/+question/698028 Hello, in the java version it's possible to get the intermediate result of cmdCapture as a ScreenImage object. Is there something similar in the python version? I could only find to save image to disk, then

Re: [Sikuli-driver] [Question #698028]: capture image without saving to disk

2021-07-17 Thread Jaroslav Novotny
Question #698028 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698028 Status: Answered => Solved Jaroslav Novotny confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Driv