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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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)
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)
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
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
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
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
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",
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
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
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
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?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
@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
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
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
50 matches
Mail list logo