Re: [Sikuli-driver] [Question #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 mrderanakt 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 #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 Status: Answered => Solved mrderanakt confirmed that the question is solved: Oh man,I did it,just I don't understand how it works,but it works r=Region(some region) match = r.find (Pattern("image").similar(0.35)) r=match r.click("image") -- 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 #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 mrderanakt posted a new comment: RaiMan,Thank,But I need the program to work in the last region found,which can vary depending on the position of the desired object on the screen.This will force my program to find the things I need in a smaller region faster than full 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
Re: [Sikuli-driver] [Question #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 masuo proposed the following answer: And we can be visualized the region on the screen by using highlight(). r = Region (100, 100, 500, 500) r.highlight(1) r.find ( "image.png") -- 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 #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 masuo proposed the following answer: @mrdenarakt An easy way to specify the region of the screen is provided by SikuliX IDE. Click Region button on SikuliX IDE. Screen get dark. Select Region from top left to bottom right. That is all. -- 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 #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 RaiMan proposed the following answer: Uuups, sorry: The region the image has on the screen, when found (it is called the match): match = r.find ( "image.png") -- 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 #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 mrderanakt posted a new comment: Thanks* :D -- 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 #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 mrderanakt posted a new comment: Thaks,but how to determine the position of the image on 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
Re: [Sikuli-driver] [Question #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 Status: Open => Answered masuo proposed the following answer: [example for first question] r = Region (100, 100, 500, 500) r.find ( "image.png") [for #1] Use SikuliX IDE and click image in editer pane, pattern setting window open. Then select matching preview tab and move slider to change minimum similarity. Switch off [Show ThumbNails], pattern setting will be shown. like this: click(Pattern("image.png").similar(0.96)) click(Pattern("image.png").exact()) -- 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 #672106]: How may I get a region of image on screen?
Question #672106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672106 mrderanakt posted a new comment: And I don't understand how use "similar()" and "exact()" -- 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 #672106]: How may I get a region of image on screen?
New question #672106 on Sikuli: https://answers.launchpad.net/sikuli/+question/672106 I need to get a region of certain image and work in this region.How can I do it? -- 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