Re: [Sikuli-driver] [Question #676268]: JavaxSwing Gui: Do.popAsk not working --- stuff must be run from EventQueue

2018-11-20 Thread RaiMan
Question #676268 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676268 Summary changed to: JavaxSwing Gui: Do.popAsk not working --- stuff must be run from EventQueue -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #676268]: Blank text for Do.popAsk

2018-11-20 Thread 123456789
Question #676268 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676268 Status: Answered => Open 123456789 is still having a problem: Hi! sorry I updated the code above. Thank you -- You received this question notification because your team Sikuli Drivers is an answer

Re: [Sikuli-driver] [Question #676268]: Blank text for Do.popAsk

2018-11-20 Thread 123456789
Question #676268 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676268 Description changed to: By using the following code : from javax.swing import JButton, JFrame def test(): global button button = Do.popAsk("test", "Error", 10) if button == False: exit(1) def

Re: [Sikuli-driver] [Question #676261]: Select another 2nd or another device using ADBScreen

2018-11-20 Thread RaiMan
Question #676261 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676261 Status: Open => Solved RaiMan changed the question status: ok, I just looked into the code: to select a specific device other than the first in the row is indeed a bit tricky due to the fact, that the

Re: [Sikuli-driver] [Question #676275]: .exists doesnt work properly

2018-11-20 Thread RaiMan
Question #676275 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676275 Status: Open => Answered RaiMan proposed the following answer: are you sure, that the image can be found at all with a score >0.7 (supposing the locator is an image filename). You might use the SikuliX

Re: [Sikuli-driver] [Question #676261]: Select another 2nd or another device using ADBScreen

2018-11-20 Thread johnny doe
Question #676261 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676261 Status: Solved => Open johnny doe is still having a problem: @Raiman I cannot use ADBClient.getConnection() because it is a private method :(. Some of ADBClient method is private bro. -- You received

Re: [Sikuli-driver] [Question #676275]: .exists doesnt work properly

2018-11-20 Thread saifin
Question #676275 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676275 Status: Answered => Open saifin is still having a problem: @Raiman tried both solutions still it doesnt click on that locator and keeps scrolling down -- You received this question notification

Re: [Sikuli-driver] [Question #676275]: .exists doesnt work properly

2018-11-20 Thread RaiMan
Question #676275 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676275 RaiMan proposed the following answer: even better: while(true){ s.type(Keys.DOWN); if(s.exists(locator)!=null){ s.click(locator); break; } } -- You received this question notification

Re: [Sikuli-driver] [Question #676275]: .exists doesnt work properly

2018-11-20 Thread RaiMan
Question #676275 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676275 Status: Open => Answered RaiMan proposed the following answer: you have to exit the loop after the click: while(s.exists(locator)==null){ s.type(Keys.DOWN); if(s.exists(locator)!=null){

[Sikuli-driver] [Question #676274]: OCR problem

2018-11-20 Thread saifin
New question #676274 on Sikuli: https://answers.launchpad.net/sikuli/+question/676274 so i m trying to capture a text from a image using .text() method the problem is it captures the text by skipping spaces i mean if the text is "hello world" in the image it captures as helloworld and ignores

Re: [Sikuli-driver] [Question #676086]: Ocr not always working

2018-11-20 Thread RaiMan
Question #676086 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676086 Status: Open => Answered RaiMan proposed the following answer: I am talking about the class org.sikuli.script.Image static means static in the Java class ... but there seems a confusion when using

Re: [Sikuli-driver] [Question #676086]: Ocr not always working

2018-11-20 Thread matteoa
Question #676086 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676086 Status: Answered => Open matteoa is still having a problem: Thanks RaiMan, I've tried this, merging together the two above mentioned answers : img1 = Image.create(capture(selectRegion())) imgGrey =

Re: [Sikuli-driver] [Question #676268]: Blank text for Do.popAsk

2018-11-20 Thread RaiMan
Question #676268 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676268 Status: Open => Answered RaiMan proposed the following answer: my test: def Start(event): Main() def Main(): button = Do.popAsk("test", "Error", 10) if button == False: exit(1) Start(None)

Re: [Sikuli-driver] [Question #676200]: IDE: Windows: Problem when trying to invoke menu action doFind (ctrl + f)

2018-11-20 Thread matteoa
Question #676200 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676200 matteoa 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.

[Sikuli-driver] [Question #676268]: Blank text for Do.popAsk

2018-11-20 Thread test qa
New question #676268 on Sikuli: https://answers.launchpad.net/sikuli/+question/676268 By using the following code: def Start(event): Main() def Main(): button = Do.popAsk("test", "Error", 10) If button == False: exit(1) == Issue : text popAsk dialog box is blank.

[Sikuli-driver] [Bug 1797752] Re: [1.1.4] [error] RobotDesktop: checkMousePosition: new information

2018-11-20 Thread RaiMan
ok, thanks. Only tomorrow I will have my Windows 10 ready again and will test then. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1797752 Title: [1.1.4] [error] RobotDesktop:

[Sikuli-driver] [Bug 1804175] [NEW] [1.1.4] [request] ADBScreen: Select one of more devices

2018-11-20 Thread RaiMan
Public bug reported: Hello please help me. I have 2 android emulator but I cannot make the program select the second emulator. I already look at ADBScreen code but it does not include setDevice() that is why I cannot select the second emulator. ** Affects: sikuli Importance: Medium

Re: [Sikuli-driver] [Question #676261]: Select another 2nd or another device using ADBScreen

2018-11-20 Thread RaiMan
Question #676261 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676261 Status: Open => Answered RaiMan proposed the following answer: Yes, currently it only selects the first in the row (hardwired). Currently I cannot help you, but I create a request bug. If you have the

Re: [Sikuli-driver] [Question #676261]: Select another 2nd or another device using ADBScreen

2018-11-20 Thread RaiMan
Question #676261 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676261 Linked to bug: #1804175 https://bugs.launchpad.net/bugs/1804175 "[1.1.4] [request] Select another 2nd or another device using ADBScreen" -- You received this question notification because your

Re: [Sikuli-driver] [Question #676253]: switch OCR back to old behaviour?

2018-11-20 Thread RaiMan
Question #676253 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676253 Status: Open => Answered RaiMan proposed the following answer: thanks - under test -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #676261]: Select another 2nd or another device using ADBScreen

2018-11-20 Thread RaiMan
Question #676261 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676261 Status: Answered => Solved RaiMan changed the question status: please communicate further in the related bug -- You received this question notification because your team Sikuli Drivers is an answer

[Sikuli-driver] [Question #676261]: Status of bug #1804175 changed to 'In Progress' in Sikuli

2018-11-20 Thread RaiMan
Bug #1804175 status changed in Sikuli: New => In Progress https://bugs.launchpad.net/sikuli/+bug/1804175 "[1.1.4] [request] Select another 2nd or another device using ADBScreen" This bug is linked to #676261. Select another 2nd or another device using ADBScreen

Re: [Sikuli-driver] [Question #340063]: lock or unlock windows session

2018-11-20 Thread Albert
Question #340063 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/340063 Albert posted a new comment: A bit late to the party, but maybe this might help someone who is still looking for a work-around. On Windows 7 this works for me: type(Key.WIN); type(Key.RIGHT);

Re: [Sikuli-driver] [Question #247602]: command such as win + l

2018-11-20 Thread Albert
Question #247602 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247602 Albert posted a new comment: A bit late to the party, but maybe this might help someone who is still looking for a work-around. On Windows 7 this works for me: type(Key.WIN); type(Key.RIGHT);

Re: [Sikuli-driver] [Question #676247]: Capture images

2018-11-20 Thread Renke He
Question #676247 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676247 Status: Needs information => Solved Renke He confirmed that the question is solved: Thanks for your reply. I just find out that the white string is the edge of the terminal. The capture function is

Re: [Sikuli-driver] [Question #676253]: switch OCR back to old behaviour?

2018-11-20 Thread _IF_
Question #676253 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676253 Status: Needs information => Open _IF_ gave more information on the question: infos sent by email... -- You received this question notification because your team Sikuli Drivers is an answer contact