rommy 0 Posted May 6, 2018 Report Share Posted May 6, 2018 (edited) hello sir i want open ui 2 .txt file and togather .txt file inside text loop again again loop , sorry for my week english. again 2 text file like email text file and 2 password text file when i start proggrame then togather text file inside text loop when end then again loop start auto. and i want one box there wating time like 2 sec 3 sec 4 sec 5 sec this also auto loop want means wait also loop with diffrent time .how? ui open file("email",#open)ui open file("password",#open)clear list(%urls)clear list(%pass)add list to list(%urls,$list from file(#open),"Delete","Global")add list to list(%pass,$list from file(#open),"Delete","Global")set list position(%urls,0)loop($list total(%urls))set list position(%pass,0)loop($list total(%pass)){ type text(<title="Search ">,$next list item(%urls),"Standard") wait(3) click($element offset(<class="_1">,0),"Left Click","No") wait(4) type text(<class="copyable-text">,$next list item(%pass),"Standard") wait(4) click(<data-icon="send">,"Left Click","No") change attribute(<title="Search">,"value",$nothing) wait(30) Edited May 6, 2018 by rommy Quote Link to post Share on other sites
tinku 6 Posted May 7, 2018 Report Share Posted May 7, 2018 ui open file("email",#openemail)ui open file("password",#openpassword)clear list(%email)clear list(%pass)add list to list(%email,$list from file(#openemail),"Delete","Global")add list to list(%pass,$list from file(#openpassword),"Delete","Global")set list position(%email,0)set list position(%pass,0)loop($list total(%pass)) { stuffs()} Don't try to loop with both list you can increment data with next list item for(email),next list item(pass).Hope it help you .If more clarification required you can ask me on skype , my skype id is :- live:69f5974a7e15e93e 1 Quote Link to post Share on other sites
rommy 0 Posted May 7, 2018 Author Report Share Posted May 7, 2018 (edited) perfet working tinku brother thankyou for help. Edited May 7, 2018 by rommy Quote Link to post Share on other sites
rommy 0 Posted May 7, 2018 Author Report Share Posted May 7, 2018 continuous loop from a list. Meaning the loop continues after it hit the last item from a list it restarts back to the first item from that same list to continue looping. ui open file("email",#openemail)ui open file("password",#openpassword)clear list(%email)clear list(%pass)add list to list(%email,$list from file(#openemail),"Delete","Global")add list to list(%pass,$list from file(#openpassword),"Delete","Global")set list position(%email,0)set list position(%pass,0)loop($list total(%pass)) { stuffs()} Quote Link to post Share on other sites
rommy 0 Posted May 8, 2018 Author Report Share Posted May 8, 2018 any Quote Link to post Share on other sites
pftg4 102 Posted May 13, 2018 Report Share Posted May 13, 2018 set list postion to 0 at the end of the list this will start all over again Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.