I have to write a console app to log the active window PID, text length and text.
It works except when I switch to Edge. The execution doesn\'t stop, but only the PID