← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #189054]: how to generate sequential numbers as my script saves screen grabs

 

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

    Status: Answered => Open

grey grey is still having a problem:
Hi, thanks for your answer, but I have no idea what you are explaining.
I am not a programmer, think of me as a 6 year old.

below is a 23 line sikuli thing....it will work for my purpose ...if
this can be looped with an escape after about 400 times...and if you can
show me how to make the "001" and "002" change in sequence
...003,004,005 etc........... this would be great. I am sure you know
that the stuff in ( ) are all screen grabs on my sikuli java thing on my
comp.

Thanks again, GG


click("READING-5.png")
click("1330391579704-3.png")
click("new-2.png")
wait(1)
dragDrop("READING-5.png", "1330385440306-2.png")
click("IIDDIS-2.png")
wait(1)
doubleClick("Filename-2.png")
type("001")
click("Cancel-2.png")
wait(1)
doubleClick("1330388006782-2.png")
click("1330388368635-2.png")
click("new-2.png")
wait(1)
dragDrop("READING-5.png", "1330385440306-2.png")
click("IIDDIS-2.png")
wait(1)
doubleClick("Filename-2.png")
type("002")
click("Cancel-2.png")
wait(1)
doubleClick("1330388006782-2.png")

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.