Sign in to follow this  
Followers 0
taren9k3

How to del IE cookie with Autoit

10 posts in this topic

How to delete IE cookie with Autoit?

Thanks

Share this post


Link to post
Share on other sites



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

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

With IE7 and 8:

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

Share this post


Link to post
Share on other sites

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

#6 ·  Posted (edited)

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

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

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

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

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  
Followers 0