Is there a way I can detect when a certain third party application running on the system (e.g. thunderbird.exe) becomes the active?
Alternatively, out of all the processes running on the system, is it possible to get the name of the currently active process?