Activity log for bug #1532541

Date Who What changed Old value New value Message
2016-01-10 12:30:13 RaiMan bug added bug
2016-01-10 12:30:57 RaiMan description I've been trying to make a script that looks for specific images, clicks on them, and then clicks on the next button after that. Currently, it does that - but it's incredibly slow, it can take up to two minutes just to click on 4-6 images/buttons. Overall there are about 10 images it's looking for all at once as they randomly pop up. I've tried adding a region to my code to help speed it up but I couldn't figure it out as I'm extremely new to even the most basic of script writing. Below is the code I'm currently using: while True: Settings.ObserveScanRate = 18 Settings.WaitScanRate = 15 Settings.MoveMouseDelay = 0 Settings.MouseDelay = 0 CurrentBarRegion = ( Region(689,294,1059,685)) if exists (Pattern("1452165008359.png").similar(0.76), 0): hover (getLastMatch()) if exists ("1452165060367.png", 0): click(getLastMatch()) There's about eight more if exists with pictures in it but that's the code. Some thought as to why Sikulix is slow: all images are very similar with light blue colors, seems Sikulix doesn't like light blue that much. Maybe the method I'm using is bad and slowing down the process as well. Could try using text search possibly, all buttons have big text in them. Pictures are all high quality, my monitor is 24 inches, 1920x1080 resolution, lots of ram good CPU etc so it can't be due to that. If anyone can help me speed up Sikulix by showing me how to put in region properly or another method I'd greatly appreciate it. Thanks! ********* for more information see the related question -------------------------------------------------------- I've been trying to make a script that looks for specific images, clicks on them, and then clicks on the next button after that. Currently, it does that - but it's incredibly slow, it can take up to two minutes just to click on 4-6 images/buttons. Overall there are about 10 images it's looking for all at once as they randomly pop up. I've tried adding a region to my code to help speed it up but I couldn't figure it out as I'm extremely new to even the most basic of script writing. Below is the code I'm currently using: while True:     Settings.ObserveScanRate = 18     Settings.WaitScanRate = 15     Settings.MoveMouseDelay = 0     Settings.MouseDelay = 0     CurrentBarRegion = ( Region(689,294,1059,685))     if exists (Pattern("1452165008359.png").similar(0.76), 0): hover (getLastMatch())     if exists ("1452165060367.png", 0): click(getLastMatch()) There's about eight more if exists with pictures in it but that's the code. Some thought as to why Sikulix is slow: all images are very similar with light blue colors, seems Sikulix doesn't like light blue that much. Maybe the method I'm using is bad and slowing down the process as well. Could try using text search possibly, all buttons have big text in them.  Pictures are all high quality, my monitor is 24 inches, 1920x1080 resolution, lots of ram good CPU etc so it can't be due to that. If anyone can help me speed up Sikulix by showing me how to put in region properly or another method I'd greatly appreciate it. Thanks!
2016-01-10 12:31:03 RaiMan sikuli: status New In Progress
2016-01-10 12:31:07 RaiMan sikuli: importance Undecided Medium
2016-01-10 12:31:10 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2016-01-10 12:31:13 RaiMan sikuli: milestone 1.1.1
2020-01-12 22:52:48 RaiMan sikuli: milestone 1.1.1 2.1.0
2020-01-12 22:53:09 RaiMan summary [1.1.0] Possible memory leak with Region objects in long running Jython scripts [2.0.x] Possible memory leak with Region objects in long running Jython scripts
2020-03-05 14:42:45 RaiMan description ********* for more information see the related question -------------------------------------------------------- I've been trying to make a script that looks for specific images, clicks on them, and then clicks on the next button after that. Currently, it does that - but it's incredibly slow, it can take up to two minutes just to click on 4-6 images/buttons. Overall there are about 10 images it's looking for all at once as they randomly pop up. I've tried adding a region to my code to help speed it up but I couldn't figure it out as I'm extremely new to even the most basic of script writing. Below is the code I'm currently using: while True:     Settings.ObserveScanRate = 18     Settings.WaitScanRate = 15     Settings.MoveMouseDelay = 0     Settings.MouseDelay = 0     CurrentBarRegion = ( Region(689,294,1059,685))     if exists (Pattern("1452165008359.png").similar(0.76), 0): hover (getLastMatch())     if exists ("1452165060367.png", 0): click(getLastMatch()) There's about eight more if exists with pictures in it but that's the code. Some thought as to why Sikulix is slow: all images are very similar with light blue colors, seems Sikulix doesn't like light blue that much. Maybe the method I'm using is bad and slowing down the process as well. Could try using text search possibly, all buttons have big text in them.  Pictures are all high quality, my monitor is 24 inches, 1920x1080 resolution, lots of ram good CPU etc so it can't be due to that. If anyone can help me speed up Sikulix by showing me how to put in region properly or another method I'd greatly appreciate it. Thanks! bug tracked on GitHub: https://github.com/RaiMan/SikuliX1/issues/323 ********* for more information see the related question -------------------------------------------------------- I've been trying to make a script that looks for specific images, clicks on them, and then clicks on the next button after that. Currently, it does that - but it's incredibly slow, it can take up to two minutes just to click on 4-6 images/buttons. Overall there are about 10 images it's looking for all at once as they randomly pop up. I've tried adding a region to my code to help speed it up but I couldn't figure it out as I'm extremely new to even the most basic of script writing. Below is the code I'm currently using: while True:     Settings.ObserveScanRate = 18     Settings.WaitScanRate = 15     Settings.MoveMouseDelay = 0     Settings.MouseDelay = 0     CurrentBarRegion = ( Region(689,294,1059,685))     if exists (Pattern("1452165008359.png").similar(0.76), 0): hover (getLastMatch())     if exists ("1452165060367.png", 0): click(getLastMatch()) There's about eight more if exists with pictures in it but that's the code. Some thought as to why Sikulix is slow: all images are very similar with light blue colors, seems Sikulix doesn't like light blue that much. Maybe the method I'm using is bad and slowing down the process as well. Could try using text search possibly, all buttons have big text in them.  Pictures are all high quality, my monitor is 24 inches, 1920x1080 resolution, lots of ram good CPU etc so it can't be due to that. If anyone can help me speed up Sikulix by showing me how to put in region properly or another method I'd greatly appreciate it. Thanks!
2020-03-05 14:43:00 RaiMan sikuli: status In Progress Confirmed
2020-03-05 14:43:04 RaiMan sikuli: importance Medium Undecided
2020-03-05 14:43:08 RaiMan sikuli: milestone 2.1.0 2.0.4