Jump to content

Recommended Posts

Posted

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

Posted
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. 

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted (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 by BinaryBrother

SIGNATURE_0X800007D NOT FOUND

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   1 member

×
×
  • Create New...