Re: [Sikuli-driver] [Question #269375]: Load Script

2015-07-21 Thread Jeff_Vallis
Question #269375 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269375 Status: Needs information = Solved Jeff_Vallis confirmed that the question is solved: Guess there was nothing wrog from the start :- I was calling script2 and was saving script as Script2 - first letter

Re: [Sikuli-driver] [Question #269185]: OnAppear and OnVanish on the same region

2015-07-21 Thread RaiMan
Question #269185 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269185 Status: Open = Answered RaiMan proposed the following answer: ok, then I have to say sorry and do my homework: have a look, what really goes on there. Watch for a fix the next days on nightly or a

Re: [Sikuli-driver] [Question #269440]: Sikulix 1.1.0 Onchange-problem

2015-07-21 Thread Dr. Xenofon Nastos
Question #269440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269440 Dr. Xenofon Nastos 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

Re: [Sikuli-driver] [Question #269185]: OnAppear and OnVanish on the same region

2015-07-21 Thread Tetsuo
Question #269185 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269185 Status: Answered = Open Tetsuo is still having a problem: np. Thanks RaiMan. Ill wait 4 the fix. -- You received this question notification because you are a member of Sikuli Drivers, which is an

Re: [Sikuli-driver] [Question #269440]: Sikulix 1.1.0 Onchange-problem

2015-07-21 Thread Dr. Xenofon Nastos
Question #269440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269440 Status: Answered = Solved Dr. Xenofon Nastos confirmed that the question is solved: Looks good now, this is the working code sniplet with the build from yesterday: import

[Sikuli-driver] [Question #269185]: Status of bug #1476773 changed to 'Fix Committed' in Sikuli

2015-07-21 Thread RaiMan
Bug #1476773 status changed in Sikuli: New = Fix Committed https://bugs.launchpad.net/sikuli/+bug/1476773 [1.1.0] observe: setInactive/setActive not working This bug is linked to #269185. OnAppear and OnVanish on the same region https://answers.launchpad.net/sikuli/+question/269185 -- You

Re: [Sikuli-driver] [Question #269185]: OnAppear and OnVanish on the same region

2015-07-21 Thread RaiMan
Question #269185 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269185 Linked to bug: #1476773 https://bugs.launchpad.net/bugs/1476773 [1.1.0] observe: setInactive/setActive not working -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #269375]: Load Script

2015-07-21 Thread RaiMan
Question #269375 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269375 RaiMan posted a new comment: shit happens ;-) be sure, I know that very well with my struggles to make SikuliX better ;-) -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Bug 1476773] Re: [1.1.0] observe: setInactive/setActive not working

2015-07-21 Thread RaiMan
just to have it in my records ;-) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1476773 Title: [1.1.0] observe: setInactive/setActive not working Status in Sikuli: Fix Committed Bug

[Sikuli-driver] [Bug 1476773] [NEW] [1.1.0] observe: setInactive/setActive not working

2015-07-21 Thread RaiMan
Public bug reported: Hi again. Im writting a code that will check if an image appeared on a Region. After the image appears the program will scan the same region to see if it desappears. When the image desappears it will start to scan to see if it appears again, and so on. So, im using

Re: [Sikuli-driver] [Question #269509]: Setup failed trying to load libVisionProxy.so

2015-07-21 Thread RaiMan
Question #269509 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269509 Status: Open = Answered RaiMan proposed the following answer: 1.0.1 is only prepared for some newer Ubuntu. I recommend to try with version 1.1.0: http://sikulix.com carefully read through quickstart

[Sikuli-driver] [Question #269509]: Setup failed trying to load libVisionProxy.so

2015-07-21 Thread Matthew
New question #269509 on Sikuli: https://answers.launchpad.net/sikuli/+question/269509 I am running Linux on a Virtual Machine,. My setup failed at functional tests, this was the output for the SetupLog.txt: ---

[Sikuli-driver] [Question #269517]: Running Command Line With Imported Scripts

2015-07-21 Thread juozas.voveravic...@gmail.com
New question #269517 on Sikuli: https://answers.launchpad.net/sikuli/+question/269517 Hello, I have a question about running sikuli scripts using console (Windows 8.1) For example: I created two scripts: file name. script(a).sikuli def ClickEvent(): click (image0) file name

Re: [Sikuli-driver] [Question #269442]: Ubuntu - mouse problem - location and rightClick()

2015-07-21 Thread RaiMan
Question #269442 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269442 RaiMan requested more information: BTW: what version of SikuliX? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

[Sikuli-driver] [Question #269481]: Finder.find() method doesn't have fixed execution time even with same background image and target image.

2015-07-21 Thread upma
New question #269481 on Sikuli: https://answers.launchpad.net/sikuli/+question/269481 As far as I know, the concrete implementation of Finder.find() is the Open CV's template_match method. Besides that, I don't find any manual delay on the c++ side written to call Open CV.

Re: [Sikuli-driver] [Question #269440]: Sikulix 1.1.0 Onchange-problem

2015-07-21 Thread RaiMan
Question #269440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269440 Status: Open = Answered RaiMan proposed the following answer: --1: Settings.OcrLanguage = deu This only makes sense, if you have put german traineddata into the tessdata folder. --2: does menu.click()

Re: [Sikuli-driver] [Question #269442]: Ubuntu - mouse problem - location and rightClick()

2015-07-21 Thread RaiMan
Question #269442 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269442 Status: Open = Needs information RaiMan requested more information: Is Sikuli running on the host system or directly inside the VM on Ubuntu? -- You received this question notification because you are

Re: [Sikuli-driver] [Question #269440]: Sikulix 1.1.0 Onchange-problem

2015-07-21 Thread Dr. Xenofon Nastos
Question #269440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269440 Description changed to: I am trying to do the following: find a menu, open it and using the onchange-event get the menu points using the text() function. Unfortunately my code doesn't work as expected:

Re: [Sikuli-driver] [Question #269303]: Text Search off error on image [Sikuli java Eclipse]

2015-07-21 Thread RaiMan
Question #269303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269303 Status: Open = Answered RaiMan proposed the following answer: please use the latest build. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #269440]: Sikulix 1.1.0 Onchange-problem

2015-07-21 Thread Dr. Xenofon Nastos
Question #269440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269440 Dr. Xenofon Nastos posted a new comment: --1 yes I have german traineddata in the tesseract Folder --2 yes this opens the menu --3 yes --4 the Intention was that the whole menu is being recognized as a

Re: [Sikuli-driver] [Question #269440]: Sikulix 1.1.0 Onchange-problem

2015-07-21 Thread RaiMan
Question #269440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269440 RaiMan proposed the following answer: with the latest build the event.xxx have been changed to getters (see docs), so in your case event.getChanges(). --4 the Intention was that the whole menu is being

Re: [Sikuli-driver] [Question #269336]: Text OCR related question

2015-07-21 Thread Subhash
Question #269336 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269336 Subhash posted a new comment: Thanks much, Raimund -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #269303]: Text Search off error on image [Sikuli java Eclipse]

2015-07-21 Thread Tepedino
Question #269303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269303 Tepedino posted a new comment: Well, I tried .-. The log I added here last was just the log of the latest version I tried to use in my work's machine... I'm not being able to pass it and try what @Eugene

Re: [Sikuli-driver] [Question #269458]: Sikuli wont Type only in certain windows.

2015-07-21 Thread Edward
Question #269458 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269458 Status: Needs information = Open Edward gave more information on the question: Right, I've been thinking about it. I just updated my java in case it was something with that. That didn't seem to solve

Re: [Sikuli-driver] [Question #269458]: Sikuli wont Type only in certain windows.

2015-07-21 Thread Edward
Question #269458 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269458 Edward gave more information on the question: Short of some Windows Updates, (and whats stated above) I can't think of anything else that has the ability to effect sikuli. Ahhh, I need the newest nightly

Re: [Sikuli-driver] [Question #269481]: Finder.find() method doesn't have fixed execution time even with same background image and target image.

2015-07-21 Thread RaiMan
Question #269481 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269481 Status: Open = Needs information RaiMan requested more information: what version of SikuliX? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #269481]: Finder.find() method doesn't have fixed execution time even with same background image and target image.

2015-07-21 Thread Eugene S
Question #269481 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269481 Status: Needs information = Answered Eugene S proposed the following answer: Try performing the same test in a loop a couple of times. I tried the same and it looks like the first result is a bit higher

[Sikuli-driver] [Bug 1466231] Re: [1.1.0] OS X 10.10: KeyModifier being sent to Sikuli, not to app

2015-07-21 Thread RaiMan
@Elaine Thanks for the information. Due to private reasons I will only start to debug this situation after mid August. Sorry for the delay. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1466231

Re: [Sikuli-driver] [Question #269375]: Load Script

2015-07-21 Thread RaiMan
Question #269375 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269375 Status: Open = Needs information RaiMan requested more information: only to be sure: - after setup you moved the newly created SikuliX.app to /Applications ?? you use:

Re: [Sikuli-driver] [Question #269440]: Sikulix 1.1.0 Onchange-problem

2015-07-21 Thread RaiMan
Question #269440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269440 RaiMan proposed the following answer: Uuups, just realised you mentioned 1.1.0. please use the latest build (2015-07-20) and read (again) carefully through:

Re: [Sikuli-driver] [Question #269375]: Load Script

2015-07-21 Thread Jeff_Vallis
Question #269375 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269375 Status: Answered = Open Jeff_Vallis is still having a problem: Installed latest build Copied you scripts below :- Same result IDE hello, I am script1 using import [error] script [ Script1 ] stopped

Re: [Sikuli-driver] [Question #269442]: Ubuntu - mouse problem - location and rightClick()

2015-07-21 Thread RaiMan
Question #269442 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269442 Status: Needs information = Answered RaiMan proposed the following answer: Sorry, I have no idea and until mid August no time to go deeper into this problem. -- You received this question notification

Re: [Sikuli-driver] [Question #269185]: OnAppear and OnVanish on the same region

2015-07-21 Thread RaiMan
Question #269185 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269185 Status: Open = Answered RaiMan proposed the following answer: Generally: you should not use popup in a handler (disturbs what is going on on the screen and steels focus) use print instead sorry for

Re: [Sikuli-driver] [Question #269185]: OnAppear and OnVanish on the same region

2015-07-21 Thread Tetsuo
Question #269185 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269185 Tetsuo gave more information on the question: Well, It seens, from the docs, i cant access region atribute and have to use getRegion() Its not working either: if event.isAppear():

Re: [Sikuli-driver] [Question #269185]: OnAppear and OnVanish on the same region

2015-07-21 Thread RaiMan
Question #269185 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269185 RaiMan posted a new comment: run with Debug.on(3) at the beginning of the script. Maybe the log tells something. -- You received this question notification because you are a member of Sikuli Drivers,

Re: [Sikuli-driver] [Question #269481]: Finder.find() method doesn't have fixed execution time even with same background image and target image.

2015-07-21 Thread upma
Question #269481 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269481 upma posted a new comment: @RaiMan. Thanks for you response. I don't think the Java level plays an important role in this situation. I do the test below: long beforeVisionFind = (new

Re: [Sikuli-driver] [Question #269185]: OnAppear and OnVanish on the same region

2015-07-21 Thread Tetsuo
Question #269185 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269185 Tetsuo gave more information on the question: Ok. Here is the result: Code: def myHandler(event): print(APPEAR) event.getRegion().setInactive(appear_handler) event.repeat() Main:

Re: [Sikuli-driver] [Question #269490]: Sikuli will not find images after a Java function change

2015-07-21 Thread RaiMan
Question #269490 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269490 Status: Open = Needs information RaiMan requested more information: --- This is where it crashes what does that mean exactly? Not really clear: are you writing your stuff in Python or in Java? -- You

Re: [Sikuli-driver] [Question #269490]: Sikuli will not find images after a Java function change

2015-07-21 Thread bphand
Question #269490 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269490 bphand posted a new comment: Sorry, what I meant by it crashes is that I throw a FindFailed exception. And yes, it is Java. In summary: Sikuli works when I put all of the code in one function. It does not

Re: [Sikuli-driver] [Question #269442]: Ubuntu - mouse problem - location and rightClick()

2015-07-21 Thread Jonas Eriksson
Question #269442 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269442 Status: Needs information = Open Jonas Eriksson gave more information on the question: I'm running Ubuntu on a virtual machine (VMware) on my laptop. I have tried this solution: m.click(); // Focus

Re: [Sikuli-driver] [Question #269442]: Ubuntu - mouse problem - location and rightClick()

2015-07-21 Thread Jonas Eriksson
Question #269442 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269442 Jonas Eriksson posted a new comment: inside the VM on Ubuntu. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #269458]: Sikuli wont Type only in certain windows.

2015-07-21 Thread RaiMan
Question #269458 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269458 Status: Open = Needs information RaiMan requested more information: So the question is: what changed in your environment between the successful run and the failing situation? -- You received this

Re: [Sikuli-driver] [Question #269442]: Ubuntu - mouse problem - location and rightClick()

2015-07-21 Thread Jonas Eriksson
Question #269442 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269442 Jonas Eriksson posted a new comment: I have a maven project that has sikulixapi-1.1.0-SNAPSHOT.jar. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #269185]: OnAppear and OnVanish on the same region

2015-07-21 Thread Tetsuo
Question #269185 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269185 Status: Answered = Open Tetsuo is still having a problem: Hi, It doesnt seen to be working. Maybe i misunderstood your tips. Here is my code: def myHandler(event): if event.isAppear():

Re: [Sikuli-driver] [Question #269481]: Finder.find() method doesn't have fixed execution time even with same background image and target image.

2015-07-21 Thread RaiMan
Question #269481 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269481 RaiMan proposed the following answer: the DLL's have not changed since then, but their usage from the Java level API. latest 1.1.0 build: http://sikulix.com sources: https://github.com/RaiMan/SikuliX-2014

[Sikuli-driver] [Question #269490]: Sikuli will not find images after a Java function change

2015-07-21 Thread bphand
New question #269490 on Sikuli: https://answers.launchpad.net/sikuli/+question/269490 I know the summary is sort of vague, so let me try to be a little more clear. I am automating the testing of a Java applet (and using TestNG as a testing framework, if that helps at all). I have two classes:

Re: [Sikuli-driver] [Question #269481]: Finder.find() method doesn't have fixed execution time even with same background image and target image.

2015-07-21 Thread upma
Question #269481 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269481 upma posted a new comment: @Eugene S. Thanks for your test. Did you mean that the result varies a little time by time in your test case? Could you please me the range of data? -- You received this question

Re: [Sikuli-driver] [Question #269481]: Finder.find() method doesn't have fixed execution time even with same background image and target image.

2015-07-21 Thread upma
Question #269481 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269481 upma posted a new comment: @RaiMan. The DLLs are of version SikuliX-2014-1.1.0-Beta4. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for

Re: [Sikuli-driver] [Question #269458]: Sikuli wont Type only in certain windows.

2015-07-21 Thread RaiMan
Question #269458 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269458 Status: Open = Answered RaiMan proposed the following answer: yes, it can. try running the script from an admin commandline. -- You received this question notification because you are a member of

[Sikuli-driver] [Question #269494]: While Loop with region.exists(IMG) doing more loops than needed

2015-07-21 Thread Tepedino
New question #269494 on Sikuli: https://answers.launchpad.net/sikuli/+question/269494 This question might be easier for em to understand what am I doing wrong (and with ebtter feedback since I'll be using my own laptop for this. I'm doing the following while loop: while r.exists(img1): t =

Re: [Sikuli-driver] [Question #269494]: While Loop with region.exists(IMG) doing more loops than needed

2015-07-21 Thread Tepedino
Question #269494 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269494 Status: Open = Solved Tepedino confirmed that the question is solved: I apologize for the question being done here, as I just found a similar problem with my limited loop and noticed that I forgot one