New question #404536 on Sikuli:
https://answers.launchpad.net/sikuli/+question/404536

I want to navigate through around 300 folders named 1,2,3 ... 300

My code is as follows:

for i in range(1,300):
    click("1480530304554.png") # Click on a Button
    wait("1480531095180.png") # Wait for prompt window
    eval(type("cd D:\ISB\Pairs\"+str(i)+"\Acq\" +Key.ENTER) # Enter path

This doesnt work. I'm getting `SyntaxError ( "no viable alternative at input 
'cq'", )`

How should I use the looping variable in type()

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to