sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #43304
Re: [Question #652975]: capture image automatically in a specific location
Question #652975 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/652975
RaiMan posted a new comment:
@masuo: he did not say, that he wants to do something else in parallel,
while he holds shift down.
So the answer to his question would be:
keyDown(Key.SHIFT)
wait(60)
KeyUp()
... and even if he wants to do something else after keyDown():
(module time is already imported in SikuliX)
end = time.time() + 60
keyDown(Key.SHIFT)
# do something else
while time.time() < end: wait(1)
keyUp()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.