if there is more than one, then it may or may not pick the one that you want. If the Console Window you want has a different Window Title from the other consoles, then you could include that in the FindWindow() so it gets the one that you want, for instance:

hwnd = FindWindow("ConsoleWindowClass", "Enter Window Title Here")