Re: [Sikuli-driver] [Question #296096]: Combine regions in imagecounting.
Question #296096 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/296096 Leif posted a new comment: I'm currently using windows 10 together with sikuli 1.1.0 The window titles do have parts of equal content (enough to understand that It's the sort of app we're looking for) and parts on unequal content. I'm sending a email now regarding the stacked window setup. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #296096]: Combine regions in imagecounting.
Question #296096 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/296096 Status: Needs information => Open Leif gave more information on the question: Well the idea is that it should count objects (title bars as you mention). I've structured the windows so the title bar only will appear in specific regions (up to 12 different regions). I'm thinking since i already know where the title bars are going to appear, there is no point in searching my whole screen in order to count them. Instead i suppose it would be more efficient to define many regions where they are going to spawn. I can not only use one region to define where they are going to spawn because it would make the region restriction pointless as the whole region would equal my whole screen. So in a attempt to be more clear I want to restrict the search to multiple small regions defined (sort of spots all over the screen) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #296096]: Combine regions in imagecounting.
New question #296096 on Sikuli: https://answers.launchpad.net/sikuli/+question/296096 Hi! I'm curious if sikuli could combine multiple regions and from there do a imagecount? I'm heavily relying on the imagecount feature and in order to optimize the script i would love to use regions in the imagecounting. The images that needs to be counted appears on many different locations making the region selection challenging. With my imagecount command: imageCount = len(list([x for x in Region(106,1755,2608,45).inside().findAll(Pattern("1464427130648.png").similar(0.92))])) My question is: Could this imagecount only count within multiple small regions? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #287693]: Print number of executed script line with internal log messages automatically
Question #287693 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/287693 Status: Answered => Solved Leif 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 Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #287693]: Print line
Question #287693 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/287693 Status: Answered => Open Leif is still having a problem: Looks sweet! I tried it out and I managed to get it working however the line is only printed when told to. I'm looking for a way to see which line is executed at all times. Let me take you through the issue. My sikuli script is sometimes becoming stuck in loops (Indeed It's not a good script however I'm working on it). With a feature like this i could easly see where the sikuli script stucks and fix it. By a feature like this i mean that the log print what line is executed together with the action. I hope i made myself clear, else dont hessitate to ask! :-) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #287693]: Print line
New question #287693 on Sikuli: https://answers.launchpad.net/sikuli/+question/287693 Hello! I'm currently using sikuli 1.1.0. I'm launching my script from a CMD batch script. I'm curious, is there any way for the script to print which line is read as well as the action? I know that i can implement "print" functions in my script however is there a easier way of doing this? Example: Now my CMD is printing stuff like: Clicking xxx DoubleClicking xxx But I'd like to know if the CMD could print it like: [Line 1] Clicking xxx [Line 4] DoubleClicking xxx -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #268981]: [1.1.0] Mouse interrupt action after mouse was moved externally by user or other process
Question #268981 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268981 Status: Answered = Solved Leif confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #268981]: [1.1.0] Mouse interrupt action after mouse was moved externally by user or other process
Question #268981 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268981 Leif posted a new comment: Once again thanks! Works exactly as intended. I feel horrible to nag you with all these follow-up questions; hope you dont mind! My secondary software is, like sikuli, a program that reads the screen and is sensitive to changes, popups, animations etc. As the script above is performed, another sikuli process is started (lasting less then 1 second) creating two red squares (1 smaller, 1 bigger) to indicate where the mouse is. Would it be possible to disable these two red square animations as they could easily disturb my secondary script. Sorry to be such a nag about the details! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #268981]: Mouse interrupt action
New question #268981 on Sikuli: https://answers.launchpad.net/sikuli/+question/268981 Hello! I'm using sikuli together with another program. So far everythings been working out perfectly. I do have a question regarding mouse control. This second program performs action from time to time; by hovering the mouse to a location and clicking. The operation it performs is abit more complicated but not relevant. This seconday program has a higher priority then sikuli. The action is performed at random times so It's not possible to program this with time. I'm therfore curious. Is there any way for sikuli to take pause everytime the mouse is moved/clicked by? Say that sikuli stops all it's action for 3 seconds after last mouse movement is performed. Have a fantastic summer! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #268981]: [1.1.0] Mouse interrupt action after mouse was moved externally by user or other process
Question #268981 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268981 Status: Answered = Open Leif is still having a problem: Brilliant really! Works very well! I've got a followup question if you dont mind. As you mention, sikuli recognized if the mouse is still in place or have been moved from where sikuli left it. My secondary program will override the cursor controll anywhere from 3 seconds up to 15. If it uses 3 seconds, It's all good. If it uses 6 example, sikuli will gain controll for a second before letting go again. I'm curious if sikuli could during the wait(3) could update the cursors location and see if It's moved. if it have, then wait another 3 seconds, create a new keypoint; if moved; wait another 3 seconds and so on. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp