Is there a way for your program to know what other applications are running and what application has the focus at a given time? Perhaps getting the current form name of the application that has the focus.