get windowID in example