I need a script that checks every 5 minutes if iexplore.exe is running - if iexplore.exe has been running non-stop for the last 48 hours, it should pop up a warning.
The script (which I want to add to my main AHK script) doesn't need to be extremely fancy, it's just that I can't come up with a good idea of how to approach this problem...
Reason why: if I let IE (typically several instances) run for several days, a "msiexec.exe" process will sooner or later show up. I'm not totally sure if it's my A/V trying to install something there or whatever, but if I don't close all IE instances, the existance of the "msiexec.exe" process will result in high(er) CPU loads, which result in more noise, more energy consumption and more heat.
I failed in monitoring the "msiexec.exe" process directly (no problem with other processes), Microsoft somehow keeps that info hidden from AHK.