Re: [Sikuli-driver] [Question #670877]: Color selection for region highlighting

2018-07-15 Thread Rainer
Question #670877 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670877 Status: Answered => Solved Rainer confirmed that the question is solved: Thank you, masuo, you are of course right. I was by mistake looking at the wrong docs — the old 1.0 docs at h

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-27 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Status: Answered => Solved Rainer confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Driv

[Sikuli-driver] [Bug 1817939] [NEW] IDE: Unpaired quote characters in comments result in a warning

2019-02-27 Thread Rainer
Public bug reported: An unpaired single or double quote character in a comment raises a "Possible incomplete string" warning. To reproduce, create a small script: # don't do this Creates the warning, but only if the whole script is run. If only a selection (that contains the comment line) is

Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-04 Thread Rainer
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 Status: Solved => Open Rainer is still having a problem: Not a problem. I just was not aware of this behavior, because the SCREEN object is described everywhere as "constant". I noticed

Re: [Sikuli-driver] [Question #678932]: Repeat

2019-03-04 Thread Rainer
Question #678932 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678932 Rainer proposed the following answer: You have to indent the whole code within the "for" block, in the same way as you do with the "if" block. This is a quite basic Python question

Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-04 Thread Rainer
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 Status: Answered => Solved Rainer confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #678932]: Repeat

2019-03-04 Thread Rainer
Question #678932 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678932 Rainer proposed the following answer: Your code should look like this: for i in range(200): click(1006,748) click("1551707620478.png") type(Key.ENTER) type('c', KeyMod

Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-04 Thread Rainer
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 Rainer posted a new comment: Thanks, Raiman, for your explanation. Avoiding with: blocks altogether is easily doable. They are just a quite "pythonic" shortcut, and I like to use them when they

Re: [Sikuli-driver] [Question #678932]: Repeat

2019-03-04 Thread Rainer
Question #678932 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678932 Rainer proposed the following answer: This structure is identical to your structure. Now you can start "populating" this barebone structure with your code, line by line, and run it after each ad

Re: [Sikuli-driver] [Question #678932]: Repeat

2019-03-04 Thread Rainer
Question #678932 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678932 Rainer proposed the following answer: The following code: for i in range(4): print(i) if i % 2: print("is odd") else: print("is even") should result in

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-19 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Rainer posted a new comment: That sounds great, thank you. Could you eventually consider a Region::highlightOn() as well (to make sure that a Region is highlighted)? -- You received this question

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-21 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Status: Solved => Open Rainer is still having a problem: Behaves unexpectedly on my system: highlight(True) highlights for 1 second, the scripts pauses, highlight is cancelled highlight(Fa

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-26 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Rainer posted a new comment: Tested all highlighting cases, everything now works as intended. The logging also works for all events. I just noted a little detail: For "timed" highlights,

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-26 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Rainer posted a new comment: The added build info in Env.getSikuliVersionBuild() also works nicely. We can finally stop writing it down after every download :) -- You received this question notification

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-25 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Rainer posted a new comment: Case 1: Yue guessed right :) Yes, I was talking about the syntax coloring. I already suspected that this requires just a "manual" addition of the new keywords to

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-25 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Rainer posted a new comment: Did some testing, the functionality seems to basically work, although I am not sure whether it works as intended everywhere :) I noticed a couple of things: highlightOff

[Sikuli-driver] [Question #678874]: Should "SCREEN" really be mapped to "with" Region?

2019-03-01 Thread Rainer
New question #678874 on Sikuli: https://answers.launchpad.net/sikuli/+question/678874 The following code print(SCREEN) with Region(1, 2, 3, 4): print(SCREEN) print(Screen()) print(SCREEN) results in: R[0,0 1680x1050]@S(0) R[1,2 3x4]@S(0) R[0,0 1680x1050]@S(0) R[0,0 1680x1050]@S(0)

[Sikuli-driver] [Question #679113]: showMonitors() – what does "None" mean?

2019-03-11 Thread Rainer
New question #679113 on Sikuli: https://answers.launchpad.net/sikuli/+question/679113 Just used the showMonitors() command on one of my systems. It returned *** monitor configuration [ 2 Screen(s)] *** *** Primary is Screen 0 Screen 0: R[0,0 1680x1050]@S(0) Screen 1: R[-1680,0 1680x1050]@S(1)

Re: [Sikuli-driver] [Question #679113]: showMonitors() – what does "None" mean?

2019-03-12 Thread Rainer
Question #679113 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679113 Status: Answered => Solved Rainer confirmed that the question is solved: Thank you, RaiMan, that explains it. In my example from above result = showMonitors() the monitor configuration is prin

Re: [Sikuli-driver] [Question #679113]: showMonitors() – what does "None" mean?

2019-03-12 Thread Rainer
Question #679113 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679113 Rainer posted a new comment: Just did some further testing. As RaiMan already noted, showMonitors() by itself does not produce the "None". The "None" in my case resulted from calling

Re: [Sikuli-driver] [Question #679113]: showMonitors() – what does "None" mean?

2019-03-12 Thread Rainer
Question #679113 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679113 Rainer 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 #678626]: Switching off all currently active highlighting

2019-02-18 Thread Rainer
New question #678626 on Sikuli: https://answers.launchpad.net/sikuli/+question/678626 I have a situation where I need to highlight various regions. Sometimes more than one should be highlighted at the same time, depending on the content of the screen, and I cannot know in advance which regions

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-18 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Status: Answered => Open Rainer is still having a problem: Thank you so far. So far I tried that in in the IDE, but could not make it work ("name 'ScreenHighlighter' is not defined",

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-18 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Status: Answered => Open Rainer is still having a problem: 'import org.sikuli.script.ScreenHighlighter as SH' – 'Import Error: No module named ScreenHighlighter' I had already tried 'Imp

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-18 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Status: Answered => Solved Rainer confirmed that the question is solved: That worked! Thank you! Are there more of such beautiful undocumented features that we could use :-) ? -- You recei

Re: [Sikuli-driver] [Question #678626]: Switching off all currently active highlighting

2019-02-18 Thread Rainer
Question #678626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678626 Rainer 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 #678529]: How to create a Region from a Location

2019-02-13 Thread Rainer
New question #678529 on Sikuli: https://answers.launchpad.net/sikuli/+question/678529 Is there a simple way to create a region from a location - a region that has the given location at its center? Like the inverse of getCenter() where I can get the location of the center of a region?

[Sikuli-driver] [Question #678530]: Jython problem - error loading python.dll (error 14001)

2019-02-13 Thread Rainer
New question #678530 on Sikuli: https://answers.launchpad.net/sikuli/+question/678530 Yes, I am aware that this is a Jython problem and not a SikuliX problem, but as Jython is required for SikuliX, maybe someone else in the SikuliX community has encountered the same problem. I use the IntelliJ

Re: [Sikuli-driver] [Question #678529]: How to create a Region from a Location

2019-02-14 Thread Rainer
Question #678529 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678529 Status: Answered => Solved Rainer confirmed that the question is solved: Thank you, RaiMan, I was quite close with my guesswork resp. suggestion … :) -- You received this question notification beca

Re: [Sikuli-driver] [Question #678529]: How to create a Region from a Location

2019-02-14 Thread Rainer
Question #678529 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678529 Rainer 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

Re: [Sikuli-driver] [Question #678530]: Windows 7: Jython problem - error loading python.dll (error 14001)

2019-02-14 Thread Rainer
Question #678530 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678530 Status: Answered => Open Rainer is still having a problem: Yes, thank you, RaiMan, I was just hoping that someone compiled a new jython-installer.jar where all of this has already been taken c

Re: [Sikuli-driver] [Question #678530]: Windows 7: Jython problem - error loading python.dll (error 14001)

2019-02-14 Thread Rainer
Question #678530 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678530 Status: Open => Solved Rainer confirmed that the question is solved: Sorry, reopened by mistake. -- You received this question notification because your team Sikuli Drivers is an answer cont

[Sikuli-driver] [Question #249530]: Cannot install Sikuli because libopencv is too recent

2014-05-30 Thread Rainer Klute
New question #249530 on Sikuli: https://answers.launchpad.net/sikuli/+question/249530 My Sikuli installation under Opensuse Linux 13.1 aborts with an error message telling that libopencv_core.so.2.3 cannot be found. Well, that's very plausible, because I don't have OpenCV 2.3 installed, but

Re: [Sikuli-driver] [Question #249530]: Cannot install Sikuli because libopencv is too recent

2014-05-30 Thread Rainer Klute
Question #249530 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249530 Rainer Klute posted a new comment: Yes, thanks, it should do it – will try. However, I consider this an ugly workaround and not a solution. -- You received this question notification because you

Re: [Sikuli-driver] [Question #249530]: Cannot install Sikuli because libopencv is too recent

2014-06-02 Thread Rainer Klute
Question #249530 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249530 Status: Answered = Solved Rainer Klute confirmed that the question is solved: Building libVisionProxy.so from source was the way to got – it works! Thanks! (I'll got an error when trying to run a very

[Sikuli-driver] [Question #249653]: Running a Sikuli script throws a java.lang.NoClassDefFoundError

2014-06-02 Thread Rainer Klute
New question #249653 on Sikuli: https://answers.launchpad.net/sikuli/+question/249653 I am trying my very first steps with Sikuli X 1.1 on Linux (Opensuse 13.1, 64 bit). In a first test I used the IDE to create a script click(image). I saved the script and then tried to execute it. However, the

Re: [Sikuli-driver] [Question #249653]: Running a Sikuli script throws a java.lang.NoClassDefFoundError

2014-06-03 Thread Rainer Klute
Question #249653 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249653 Rainer Klute posted a new comment: How would this bring org.sikuli.natives.VisionProxyJNI into the classpath? (I have a self-compile libVisionProxy.so in my libs directory already.) -- You received

Re: [Sikuli-driver] [Question #249653]: Running a Sikuli script throws a java.lang.NoClassDefFoundError

2014-06-03 Thread Rainer Klute
Question #249653 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249653 Rainer Klute posted a new comment: I did execute sikulixsetup-1.1.jar. However, I skipped the download step, because this was my second try to generate sikuli.jar and I had the downloaded files already. I

Re: [Sikuli-driver] [Question #249653]: Running a Sikuli script throws a java.lang.NoClassDefFoundError

2014-06-06 Thread Rainer Klute
Question #249653 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249653 Status: Answered = Solved Rainer Klute confirmed that the question is solved: I just had the time to repeat the installation executing sikulixsetup-1.1.jar in an otherwise empty directory. Then I copied

Re: [Sikuli-driver] [Question #249653]: Running a Sikuli script throws a java.lang.NoClassDefFoundError

2014-06-06 Thread Rainer Klute
Question #249653 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/249653 Rainer Klute 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

[Sikuli-driver] [Question #250119]: How can I turn on debugging in a JUnit test?

2014-06-11 Thread Rainer Klute
New question #250119 on Sikuli: https://answers.launchpad.net/sikuli/+question/250119 Running a JUnit test case I get the following error message: [error] ResourceLoader: loadLib: Fatal Error 110: loading: libVisionProxy.so [error] ResourceLoader: loadLib: Since native library was found, it

Re: [Sikuli-driver] [Question #250119]: How can I turn on debugging in a JUnit test?

2014-06-12 Thread Rainer Klute
Question #250119 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250119 Rainer Klute gave more information on the question: What I am trying to do is to integrate Sikuli JUnit tests into my project's Maven build. If I explictly add sikulix.jar to my classpath, the JUnit tests

Re: [Sikuli-driver] [Question #250119]: How can I turn on debugging in a JUnit test?

2014-06-12 Thread Rainer Klute
Question #250119 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250119 Status: Answered = Solved Rainer Klute confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Bug 793723] Re: Linux System Always Uses Screen(0)

2014-06-13 Thread Rainer Klute
I can confirm this bug under Opensuse Linux 13.1. I have a two-monitors setup. My application iterates all screens, looks for a certain image and then clicks on it. This works fine if that image is on screen 0. If it is on screen 1, Sikuli moves the pointer to the corresponding position on screen

[Sikuli-driver] [Bug 793723] Re: Linux System Always Uses Screen(0)

2014-06-13 Thread Rainer Klute
I am working with 1.1.0, so yes, I can confirm that. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/793723 Title: Linux System Always Uses Screen(0) Status in Sikuli: In Progress Bug

[Sikuli-driver] [Bug 793723] Re: [1.1.0-Beta1] Linux System Always Uses Screen(0)

2014-06-13 Thread Rainer Klute
You have e-mail. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/793723 Title: [1.1.0-Beta1] Linux System Always Uses Screen(0) Status in Sikuli: In Progress Bug description: I am using

[Sikuli-driver] [Bug 1705515] Re: 1.1.1 Screen().capture() does not return path

2017-08-14 Thread Rainer Oehry
I can confirm the bug. Same environment as Samson Truong. Isn't this the same bug as 1589474 from 2016-06-06 that was supposed to have been fixed? ** Changed in: sikuli Status: Invalid => Confirmed -- You received this bug notification because you are a member of Sikuli Drivers, which

[Sikuli-driver] [Bug 1705515] Re: [1.1.1 final] Screen().capture() does not return path --- workaround

2017-09-05 Thread Rainer Oehry
@RaiMan Just one question: If I apply the getFile() workaroud to all capture() methods, will this still work after the problem got fixed in 1.1.2, or will I have to remove the getFile() everywhere because it will then cause problems itself? Thank you! -- You received this bug notification

[Sikuli-driver] [Question #670877]: Color selection for region highlighting

2018-07-14 Thread Rainer Oehry
New question #670877 on Sikuli: https://answers.launchpad.net/sikuli/+question/670877 I am aware that the topic of color selection for region highlighting has been on the wish list since at least 2011 (bug 795211). I, too, could use this feature for improved user interaction, and therefore

[Sikuli-driver] [Bug 1755759] [NEW] Java 9 - 1.1.2 final - IDE - Undo/Redo not functional

2018-03-14 Thread Rainer Oehry
Public bug reported: 1.1.2 final: The Undo/Redo functionality in the IDE does not seem to work in Java 9 (x64) - neither via Edit->Undo/Redo nor via CTRL-Z/CTRL- Shift-Z - just nothing happens. Works fine in Java 8 161 (x64). ** Affects: sikuli Importance: Undecided Status: New