← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #691880]: Sikuli Script in Python loop

 

Question #691880 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691880

    Status: Answered => Open

Dominik Er is still having a problem:
which Script are you refferung to? 
Sikuli is giving me this as an .py Output (i just started using it today, sos sorry for some easy questions):
click("1594805876723.png")
wait("1594806779837.png")
type("6", KeyModifier.ALT)
wait("1594810923451.png")
type("3", KeyModifier.ALT)
click("1594811407539.png")
wait("1594811434094.png")
click("1594811448859.png")
wait("1594811477901.png")
click("1594811496208.png")
wait("1594811550116.png")
click("1594811564717.png")
wait("1594812333917.png")
click("1594812349167.png")
wait("1594812405160.png")
click("1594812422213.png")
wait("1594812448369.png")
click("1594812462632.png")
wait("1594812487205.png")
click("1594812538340.png")
sleep(5)
click("1594815007042.png")

my python loop Looks like this:
print(rohdaten)
for filename in os.listdir(rohdaten):
	if filename.endswith(".svd") and not("Scan") in filename:
		print(os.path.join(rohdaten, filename))
		os.system("start " + filename)
               # TODO :  Import Sikulix

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.