Getting Info from a window