[Sikuli-driver] [Question #670847]: loop click one image only from a list
New question #670847 on Sikuli: https://answers.launchpad.net/sikuli/+question/670847 so i'm making this beginner script for a game and i have tried alot of methods but nothing helped me solve my problem. i want my script to click some specific images as they appear on screen(i can do this no problem) then i will see 15 images which i saved them in a list i want to choose only one image from the list and click it then continue my script and next script run choose the next image from list and so on and repeat this forever.. something which look like this: while True: click("1531176838693.png") wait(5) click("1531176913033.png") wait(35) click("1531177052212.png") wait(5) imagelst = [ --i want to choose only one from this list every time i loop here "1531365554265.png", "1531365585043.png", "1531365601372.png", "1531365618428.png", "1531365633758.png", "1531365644149.png", "1531365656034.png", "1531365676365.png", "1531365689264.png", "1531365698168.png", "1531365713198.png", "1531365723352.png", "1531365738467.png", "1531365751831.png", "1531365763188.png"]- then continue my script normally click("1531182624939.png") wait(5) click("1531182731781.png") wait(3) click("1531272347054.png") any help will be appreciated.. thanks -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #670847]: loop click one image only from a list
Question #670847 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670847 Status: Answered => Solved The Grey confirmed that the question is solved: omg this worked fine for me thank you so much for your help -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #189054]: how to generate sequential numbers as my script saves screen grabs
New question #189054 on Sikuli: https://answers.launchpad.net/sikuli/+question/189054 Thanks to all you genius developers! is there a tutorial or some instructions demonstrating how to get sikuli to generate sequential page numbers as is captures screen grabs of a multi page doc.? I am sure this is a task that has been programmed thousands of times somewhere, just not at my house! I have the program doing many tasks very well, I just dont know how to tell it to ...for instance, take the last page number I had it save a doc page as,.,...take that number and increase it by one, and insert it into the code for the next page. also, how can I get it to loop and keep doing this for a few hundred repetitions? thanks, GG -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 Description changed to: Thanks to all you genius developers! is there a tutorial or some instructions demonstrating how to get sikuli to generate sequential page numbers as it captures screen grabs of a multi page doc.? I am sure this is a task that has been programmed thousands of times somewhere, just not at my house! I have the program doing many tasks very well, I just dont know how to tell it to ...for instance, take the last page number I had it save a doc page as,.,...take that number and increase it by one, and insert it into the code for the next page. also, how can I get it to loop and keep doing this for a few hundred repetitions? thanks, GG -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 thingit 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. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 ...I seem to not quite get your help... the whole 23 lines I sent you is supposed to run and then all 23 repeat. What I have the script doing is this clicking to the next page in an adobe reader, it then uses the windows 7 screen capture(it is a Dell by the way) it saves the screen cap, numbers it(193) , then clicks to scroll to the bottom of the page( I have it showing in large type so it takes 2 screen caps ...top and bottom to get the whole of one page...then it screen caps this bottom part then saves this, numbers it (194) closes the screen cap window...this is the end of one whole loop(that is if you can help me make it loop) thanks,, GG -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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: Once again, many thanks!, I have done as you described and it now works perfectly. here is a slightly different question. Since I am, as I described before, scanning and capturing 2 times for each page of text(top and bottom of page) it would be great if you could help me with a more accurate way of numberingsomething like ...when I capture the top of page 37 the script names it 37 and then the next capture being the bottom of page 37, the script names it 37a. Then upon repeat of the loop it calls the next capture 38(since the actual page being captured is number 38), then the next is 38a...I am sure you can explain this to me, but I have tried a few variations on the working loop you helped me fix, but I cant figure it outlike I said, I am no programmer. thanks! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 = Solved grey grey confirmed that the question is solved: Yes, Thank you very much. can you point me toward a tutorial or something that will educate me so I can understand how to code this way on my own? thanks, GG -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 grey grey posted a new comment: Thanks for all your help. GG -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp