Please document WHEN Visual Basic scripts are run

This tells me HOW to make such a script run,

but fails to tell me WHEN it will run.

http://www.piriform....leaning-process

Will it run the script upon initial launch of CCleaner.exe, or upon its close ?

or on Analyze and/or Run Cleaner ?

Does it run when fixing Registry Issues :o

Does CCleaner pause until the VBS completes, and if so what happens if the VBS crashes or freezes ?

I am more comfortable creating Batch scripts.

Will there be a future capability for "BatchKey1=Test.Bat",

or would I need to use a simple Test.vbs to run my complex Test.Bat