Re: [Sikuli-driver] [Question #232718]: Can detect the text on screen but can't find it
Question #232718 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232718 Status: Open = Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- 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 #233463]: appfocus and switchApp inconsistency with click
Question #233463 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233463 Status: Open = Answered Aravind proposed the following answer: Think, this is a known bug with Sikuli. These inks might help you out with more details : - https://bugs.launchpad.net/sikuli/+bug/1008113 - https://bugs.launchpad.net/sikuli/+bug/682281 and how about using a type(Key.TAB, KeyModifier.ALT) instead ? -- 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 #233463]: [1.0] appfocus and switchApp inconsistency with click
Question #233463 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233463 Assignee: None = RaiMan Summary changed to: [1.0] appfocus and switchApp inconsistency with click -- 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 #233463]: [1.0] appfocus and switchApp inconsistency with click
Question #233463 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233463 RaiMan posted a new comment: @ Aravind Thanks, I have this on the list for 1.1 -- 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 #232718]: Can detect the text on screen but can't find it
Question #232718 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232718 Mark Weisler posted a new comment: I tried essentially your code and it worked properly for me. I have a Web page open and it contains the string of interest in the region Sikuli will be searching. Then I run... myReg= Region(100,100,500,600) myReg.highlight(2) myText = myReg.text() print myText myReg.find(Hitz) # succeeds as Hitz is found in the region wait(3) myReg.find(Hitzz) # fails as Hitzz is not found in the region #this appears as a FindFailed error in the IDE Please be sure the screen with the text has focus for Sikuli to see it. You may be encountering a known OCR issue with Sikuli. (Apparently OCR is not the most robust part of Sikuli at this time.) Another version of this using exception handling is below and it works properly also... #script: OCRDemo33 # now using exception handling... Settings.OcrTextSearch = True Settings.OcrTextRead = True myReg= Region(100,100,500,600) myReg.highlight(2) myText = myReg.text() print myText myReg.find(Hitz) # succeeds as Hitz is found in the region wait(1) try: myReg.find(Hitzz) print found string somehow #should not execute this line as Hitz is not there. pass # it is there except FindFailed: print() #blank line print (failed to find sought string) pass # just continue execution wait(2) try: myReg.find(Hitz) print() #blank line print found it again pass # it is there except FindFailed: print (failed to find sought string) pass # continue -- 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 #233496]: Canvas in Sikuli java
New question #233496 on Sikuli: https://answers.launchpad.net/sikuli/+question/233496 I would like to have an example where I could search for an image (icon on desktop) and if found draw a frame around it. I am unable to draw on the screen. How to I use the canvas on it? Thanks in advance. Giuseppe Marullo -- 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