New question #688897 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688897
Hello.
When I run my code, nothing happens, no erros, but also no results.
I already checked "comparing" values of image, and image is aways being
detected, but handler does not run.
What I'm doing wrong?
Question #67 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/67
Status: Answered => Open
jeff is still having a problem:
Thank you! I'm starting to get oriented.
I'm interpreting "loc" in this line to mean the coordinates are passed in(?).
protected static int
Question #688872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688872
RaiMan proposed the following answer:
clapping hands ;-)
I would not have it done better.
... you might even put the wanted exe-filename as a parameter to the Popen,
when saying:
("python",
Question #688872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688872
Asheru posted a new comment:
**theproc = subprocess.Popen(path_to_GetSetupBuildNumber.py, shell =
True,stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
--
You received this question notification because
Question #688872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688872
Asheru posted a new comment:
I found a solution for this. Not the best but simple and quick (works
for me).
So I have a script named "GetSetupBuildNumber.py", that uses win32
package wich normally would not
ok, thanks for feedback.
yes this is a historical oddity with the scripting and Java API:
SCREEN.capture() uses a Python implementation, that is bound to the
SCREEN object (a quasi constant for Screen(0)). Simply using capture()
would yield the same, since all Region/Screen functions are bound
found related, 315005, thanks to getFile command. I suppose you can close,
please document this.
https://sikulix-2014.readthedocs.io/en/latest/screen.html#Screen.capture
>From documentation:
Capturing is the feature, to grab a rectangle of pixels from a screenshot and
save it to a file for
Hi RaiMan,
Thanks for the getFile command. I wanted to point out this is not
limited to VNC, I was not clear before. W/O vnc (I have 3 monitors):
imagePath = Screen(0).capture()
print imagePath
imagePath = Screen(1).capture()
print imagePath
imagePath = Screen(2).capture()
print imagePath
Question #66 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/66
Status: Answered => Solved
Leonardo Castro confirmed that the question is solved:
Thank you Raiman!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for
Question #688872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688872
RaiMan proposed the following answer:
since "get the build number of an .exe file" is not part of my daily
business ;-) I am sorry to leave you alone with that :-(
--
You received this question
Question #63 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/63
RaiMan proposed the following answer:
everything available is in the docs:
https://sikulix-2014.readthedocs.io/en/latest/region.html#observing-visual-events-in-a-region
--
You received this question
Sorry for the inconvenience, but VNC is not well documented and not my
priority in the moment.
You have to live with your workaround.
I would suggest to isolate your VNC.capture() into a global function, so
you can easily adapt when changes are coming with 2.1.0.
looks a bit odd, but this is a
Question #688872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688872
Asheru posted a new comment:
@Manfred Hampl
Hmm, i wanted to avoid the use of images for this.
@RaiMan
Ok then, it seems I have to to some research.
--
You received this question notification because
Question #63 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/63
larryli posted a new comment:
is there any API or method to control remove onAppear content
for example, if image2 is appear, it can remove image1's observe?
--
You received this question notification
Question #63 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/63
RaiMan proposed the following answer:
yes, exists exits, when the given image appears.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
Question #63 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/63
larryli posted a new comment:
because, image2 will include same image like image1, so this is the reason I
want to remove image1's observer,
and also, maybe my image is not good.
in fact, I want onAppear
** Summary changed:
- capture is returning different data types depending on call
+ [2.0.2] VNC: capture() returns ScreenImage instead of filename
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => Medium
** Changed in: sikuli
Question #68 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/68
Status: Open => Answered
RaiMan proposed the following answer:
Have you tried with Java 13?
... but this definitely is not a SikuliX problem.
... and use the latest stable SikuliX 2.0.2
--
You
Question #68 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/68
Summary changed to:
Lenovo ThinkPad: Win 10 Enterprise: Click not working with Java 8 version 211
and 241
--
You received this question notification because your team Sikuli Drivers
is an answer contact
Question #66 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/66
Status: Open => Answered
RaiMan proposed the following answer:
if a def() is defined with a positional parameter, it MUST be given when
called.
This is a variant using keyword arguments:
def
Question #67 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/67
RaiMan proposed the following answer:
... addition to comment#1:
org.sikuli.Script.Region::click -> org.sikuli.Script.Mouse::click
... and finally the real clicking is done via Java AWT Robot
Question #63 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/63
Status: Needs information => Answered
RaiMan proposed the following answer:
onXXX events are registered per Region (the screen object SCREEN in your
case - the main screen).
When using observe(), ALL
Question #67 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/67
Status: Open => Answered
Manfred Hampl proposed the following answer:
The repository that you are referring to is outdated.
See the README.md (bottom half of that page):
!!!This Sikuli X-1.0rc3 IS NO
Question #63 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/63
Status: Open => Needs information
Manfred Hampl requested more information:
Is there a typo error handlerX vs. handerX ?
onAppear("image1", hander1)
def handler1(event):
--
You received this question
24 matches
Mail list logo