Useful to reset a maya window that might have gone off-screeen and is not visible anymore.
- Make sure the window you want to reset is opened.
- Modify the
WINDOW_TO_FIND_NAME
(line ~36) variable with the name that correspond to the window you want to reset. - Run the script.
If it's unfortunately the script editor that is not visible, you can use the command line in the bottom left corner of the interface to enter the script.