Jump to content
Sign in to follow this  
taren9k3

How to del IE cookie with Autoit

Recommended Posts

taren9k3

How to delete IE cookie with Autoit?

Thanks

Share this post


Link to post
Share on other sites
BrettF

Get the location from this code and delete whatever the one you need to.

Opt ("ExpandEnvStrings", 1)
$reg = RegRead ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders", "Cookies")

MsgBox (0, "", $reg)

Cheers,

Brett

Share this post


Link to post
Share on other sites
herewasplato

How to delete IE cookie with Autoit?

Thanks

Are you wanting to delete one specific cookie or all cookies... and why?

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
ThuongTin

With IE7 and 8:

Run("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2")

Share this post


Link to post
Share on other sites
herewasplato

With IE7 and 8:

Run("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2")

If you want them all gone.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
taren9k3

Thank i can do it.

Are you wanting to delete one specific cookie or all cookies... and why?

Because i want to know what autoit can do to IE. :)

Thanks all.

Edited by taren9k3

Share this post


Link to post
Share on other sites
herewasplato

Thank i can do it.

Because i want to know what autoit can do to IE. :)

Thanks all.

AutoIt can remove individual cookies, but cannot directly remove/edit entries in the index file that keeps a record of those cookies and sites visited.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
rudi

Hi.

AutoIt can remove individual cookies, but cannot directly remove/edit entries in the index file that keeps a record of those cookies and sites visited.

howto indirectly? :)

Regards, Rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites
herewasplato

... howto indirectly? ...

By controlling an app like Index.dat Analyzer.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
meomeo192

With IE7 and 8:

Run("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2")

If you want them all gone.

I try, but it just aplly when i exit IE and run it again.I configued in IE like that:Tool -> Internet Option -> Browsing History:1. Don't check: "Delete history browsing on exit"2. Setting -> Temporary Internet File -> Check "Automatically"Pls help me write a true code or configue IE to the code can apply IE still running.Thanks you.

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.