selectWindow command