|I know that in a lot of programs (such as AV, updaters etc) you can set it where it would only start process if the computer is idle.|
There's a few ways to do that. You could hook WH_SYSMSGFILTER and watch for the screen saver activation message. (This assumes the screen saver is enabled.) You could hook WH_FOREGROUNDIDLE, and detect idle situations that way. Hooks in general should be in a language with low overhead and high speed. C's the preferred language.
In your case, you'd probably use GetLastInputInfo(), since your program / script never sleeps. This requires a language that can interface with the Win32 API, however. C is the default language for these problems, but you could use VBA or PowerShell (if either are installed). Batch and VBScript are out, though. Other languages are possible, but like VBA / PS, most of them need to be installed on the host PC first.
I guess for now I would be happy to see VB script to just switch between windows whenever you run the script.
I do not know of any way for VBScript to switch window focus / change window z-level. Sorry. (Before you ask, sending Alt-Tab does nothing.)
How To Ask Questions The Smart Way