To bring focus of window, other option is, you can:
click('pane0', 'btnWindowTitle') # Here Windows Title will be, what ever you see in task bar. Note: You need to use a different method, if you try to operate on a window with same name, but multiple instance are currently running. Instead of button, it becomes menu. Thanks
click('pane0', 'btnWindowTitle') # Here Windows Title will be, what ever you see in task bar. Note: You need to use a different method, if you try to operate on a window with same name, but multiple instance are currently running. Instead of button, it becomes menu. Thanks