Using the following code I can find that the currently running window I want to connect is named "Trade Monitor" …