sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12942
[Question #207708]: How do i loop import?
New question #207708 on Sikuli:
https://answers.launchpad.net/sikuli/+question/207708
from sikuli import *
import os
type("d",KEY_WIN)
wait("shortcut.png",FOREVER)
doubleClick("shortcut.png",FOREVER)
if exists("A.png",FOREVER):
click("OK.png")
doubleClick("close.png")
for n in range(3):
import tes
I saved above code as tes.skl
But it only loop once, i
Shouldn't it loop 3 times?
Any idea which part is incorrect?
Or is it impossible to loop same script?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.