an0nymous Posted January 14 Posted January 14 I'm using Google Chrome as a browser... I want to play this script for ten times.. ;;Url MouseClick('left', 42, 95) sleep(10000) ;;title send("^a") sleep(1000) send("{backspace}") sleep(1000) Description() sleep(1000) ;;body send("{tab 8}") sleep(1000) send("^a") sleep(1000) send("{backspace}") sleep(1000) Description() sleep(500) send("{enter}") sleep(500) Description() sleep(1000) send("^{end}") sleep(1000) Content2() sleep(1000) send("^{end}") sleep(1000) Content3() sleep(500) Link() sleep(1000) ;;submit send("{tab 5}") sleep(1000) send("{enter}") sleep(2000) and then after ten times I want my chrome to delete history send("{Esc 2}") sleep(1000) MouseClick('left', 532, 61) sleep(1000) send("^a") sleep(1000) send("{backspace}") sleep(1000) send("chrome://settings/clearBrowserData") sleep(1000) send("{enter}") sleep(5000) send("{tab}") sleep(1000) send("{enter}") sleep(5000) with this script.. How to make it please help
argumentum Posted January 14 Posted January 14 1 hour ago, an0nymous said: I want to play this script for ten times.. For $iCount = 1 To 10 .. your code .. Next an0nymous 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
an0nymous Posted January 14 Author Posted January 14 2 hours ago, argumentum said: For $iCount = 1 To 10 .. your code .. Next how to make it into script is it in function endfunction?
Developers Jos Posted January 14 Developers Posted January 14 (edited) Did you open the helpfile and check? Edited January 14 by Jos an0nymous 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
argumentum Posted January 14 Posted January 14 4 hours ago, an0nymous said: how to make it into script is it in function endfunction? 8 hours ago, an0nymous said: sleep(500) Link() sleep(1000) ...the same way you coded Func Link(). Does chrome save browser data when incognito ?. Maybe you don't have to code anything. Or maybe have a virtual machine to browse whatever you'd like to not have in your PC. an0nymous 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
BinaryBrother Posted January 14 Posted January 14 (edited) What are you creating? A reddit post remover? Like Argumentum said, when you repeat things you need to study (in the documentation) While and For routines. They're made for looping. What are you trying to achieve? If you don't mind me asking... Edited January 14 by BinaryBrother SIGNATURE_0X800007D NOT FOUND
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now