Example Scripts.

Script for Google Tool Bar Search History:


function this.GetPluginName()

return "Google Tool Bar Search History";

end


function this.GetPluginIcon()

icon = this:GetIconIndex("%windir%\\regedit.exe");

return icon;

end


function this.GetSize()

local size = 0;

count = this:RegKeyGetNumberOfValues("HKEY_CURRENT_USER\\Software\\Google\\NavClient\\1.1\\History");

return size, count;

end


function this.Clear()

this:RegKeyDeleteValues("HKEY_CURRENT_USER\\Software\\Google\\NavClient\\1.1\\History");

end


Script for Recent Documents:


function this.GetPluginName()

return "Recent Documents";

end


function this.GetPluginIcon()

icon = this:icon = this:GetIconIndex("%RECENT%");

return icon;

end


function this.GetSize()

local size = 0;

count = this:GetFolderSize("%RECENT%", "", true);

return size, count;

end


function this.Clear()

this:DeleteFolderContent("%RECENT%", "", true);

end