A
Anthony Susa
I rewrote the script where it would pad a
prefix 0 as 00 and 1 as 01, 2 as 02 through 09.
{ Note that the script will most likely wrap }
For $NUM = 0 To 99 Step 1
if len($NUM)=1
$NUM1="0"+$NUM
else
$NUM1=$NUM
endif
$SearchLen="Search"+$NUM1+"Len"
$Search="Search"+$NUM1
if
(readtype("HKEY_CURRENT_USER\Software\Lemmy\Lemmy\SearchHistory",$SearchLen)="REG_DWORD")=1
WriteValue("HKEY_CURRENT_USER\Software\Lemmy\Lemmy\SearchHistory",$SearchLen,"0",REG_DWORD)
endif
if (readtype("HKEY_CURRENT_USER\Software\Lemmy\Lemmy\SearchHistory",$Search)="REG_SZ")=1
WriteValue("HKEY_CURRENT_USER\Software\Lemmy\Lemmy\SearchHistory",$Search,"",REG_SZ)
endif
Next
Thank you yet again David. It was nice to see not only that your scripts
worked first time (which will help others greatly) but that others who had
been lurking took the time to say they appreciated the multiple ways of
cleaning the registry of keys that the standard freeware privacy programs
miss.
I suspect the reason the standard freeware privacy programs miss Lemmy
history keys is that the Lemmy text editor (
http://www.softwareonline.org/lemmy45.html ) is not for the average person.
Lemmy is probably one of the most powerful ascii text editors on the planet
(along the lines of "vi", "vim", & "emacs") which most PC users would find
daunting. So, I guess the privacy folks who wrote the registry cleaners,
e.g., MRUBlaster ( www.javacoolsoftware.com/mrublaster.html ) stuck to the
mainstream PC users.
One warning I'm sure you are very aware of is that some programs are not
smart enough to recover from a deleted key. Lemmy seems to have no problem
re-creating the deleted keys; but I would warn the many lurkers that this
approach won't work directly for any program which requires the key to
exist.
Good luck - be safe - guard your privacy - and happy holidays to all!
Tony Susa