sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42794
Re: [Question #643629]: Drag and drop while IF is untrue?
Question #643629 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/643629
Status: Open => Answered
masuo proposed the following answer:
try following codes.
while True:
if exists("1497326478425.png"):
break
else:
mouseMove(SCREEN.getCenter())
# add drag and drop operation
sleep(3) # to aboid CPU load
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.