Jump to content

Run the script in background without showing anything in screen


 Share

Recommended Posts

Hi everyone,

i just need your help. i have script for cleaning browsing history and other unwanted file but the problem is i don't want to see the GUI i have attached below. It should not show anything on the screen. is it possible to do it in autoit. thanks in advance.

 

So for i have tried flag

Run("rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255", "", @SW_HIDE)

@SW_DISABLE

 

Looking forward your help.........

Untitled.png

Link to comment
Share on other sites

Untested :

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess <number>

The parameter <number> is required and is derived from a combination of the following values, represented as a decimal number.

1    = Browsing History
2    = Cookies
4    = Temporary Internet Files
8    = Offline favorites and download history
16   = Form Data
32   = Passwords
64   = Phishing Filter Data
128  = Web page Recovery Data
256  = Do not Show GUI when running the cache clear
512  = Do not use Multi-threading for deletion
1024 = Valid only when browser is in private browsing mode
2048 = Tracking Data
4096 = Data stored by add-ons
8192 = Preserves Cached data for Favorite websites

Use BitOR to combine them (255 e.g. is a combination of 1 ... 128 -> All) !

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...