New question #268175 on Sikuli:
https://answers.launchpad.net/sikuli/+question/268175
I have a task in Sikuli and I just can't figure out how to accomplish it.
I want to start a script and with it the LEFT Arrow key should be pressed
repeatedly. As soon as a certain image (Pic_1) appears the RIG
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Hashtag123 gave more information on the question:
So here is my approach and it works like I want it to (but too slow):
setAutoWaitTimeout(0)
wait(10)
while True:
while True:
if not exists(Patter
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Status: Open => Needs information
RaiMan requested more information:
what version of Sikuli?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer co
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Status: Needs information => Open
Hashtag123 gave more information on the question:
SikulixIDE 1.1.0
I think I could speed up the process with regions but somehow I am unable to
use them propably.
This
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Hashtag123 gave more information on the question:
*properly
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
___
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Hashtag123 gave more information on the question:
When I use "exists" instead of "not exists" it is still very slow:
wait(10)
while True:
while True:
if exists(Pattern(Pattern("02_right-1.png").s
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Status: Open => Answered
RaiMan proposed the following answer:
just for the records (nothing to do with your problem)
makes no sense:
Pattern(Pattern("02_right-1.png").similar(0.75))
this is enough:
Pa
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Status: Answered => Open
Hashtag123 is still having a problem:
Thanks so far =)
Actually the stuff IS in a windows and DOES appear always at the same
position.
Subject:
I am testing a small game which
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Status: Open => Answered
RaiMan proposed the following answer:
ok, this visual setup is really one of the more difficult ones, if you
are talking about the vertikal square with the thin border and the
tr
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
RaiMan proposed the following answer:
... a short video would help me a lot to understand the dynamics.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an ans
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Status: Answered => Open
Hashtag123 is still having a problem:
Sorry for the late Answer. I finally found time to proceed my project and
solved my problem.
Using absolut regions made the script pretty f
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Status: Open => Answered
RaiMan proposed the following answer:
now = time.time()
in5min = now + 5 * 60 * 1000
while time.time() < in5min:
the granularity of time.time() is milliseconds. hence 5 * 60 *
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Status: Answered => Solved
Hashtag123 confirmed that the question is solved:
Thanks a lot =)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer co
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Hashtag123 posted a new comment:
If I may correct you.
in5min = now + 5 * 60
worked for me.
Somehow * 1000 wasnt needed.
--
You received this question notification because you are a member of
Sikuli Drive
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
RaiMan posted a new comment:
Thanks for the correction ;-)
I remember, that I was in a hurry and had a bad feeling exactly about
that, but was too lazy to verify the time.time() return value, which
indeed is
15 matches
Mail list logo