I have two windows - both having the same title. The only difference in GUI map description is the MSW_Class. For window1, its #32770 and for window2, its "abcdsds". Windows 2 is a command prompt window.

Is there anyway I can get focus on window1 and work on the controls present in it ?