Feb 29, 2008
I'm new to AutoHotkey...

Need to script CCleaner to sweep privacy and history every time Chrome is closed.
Incognito mode and extensions not good enough...

I've been using this so far:

RunWait, C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Run, C:\Program Files\CCleaner\CCleaner.exe /AUTO

But only works if I launched Chrome using the hotkey :(
Need CCleaner to run no matter how Chrome was launched...

I've seen WinTrigger by MasterFocus:

Is too complex for me to understand and adapt for my use. And contains script that react to deactivation of window(s) which I don't need. Can't even tell what is being triggered :(

If someone knows more about AutoHotkey, could please alter the WinTrigger script for me, or interpret so I know how to use it...

Thank you very much :)