zxc3 0 Posted May 26, 2005 In what my mistake:While 1SEND("!{ESC}")$text = WinGetText("Untitled -", "")MsgBox(0, "Text read was:", $text)$title = WinGetTitle("Untitled -", "")MsgBox(0, "Full title read was:", $title)WendWindows Internet explorer, AutoIt Help, Notepad, new folder and others with titles and the text are open, but are printed only "1" Thanks Share this post Link to post Share on other sites
Wb-FreeKill 0 Posted May 26, 2005 In what my mistake:While 1SEND("!{ESC}")$text = WinGetText("Untitled -", "")MsgBox(0, "Text read was:", $text)$title = WinGetTitle("Untitled -", "")MsgBox(0, "Full title read was:", $title)WendWindows Internet explorer, AutoIt Help, Notepad, new folder and others with titles and the text are open, but are printed only "1" Thanks<{POST_SNAPBACK}>the whole window title has to be "Untitled -", i doubt that Internet explorer and AutoIt Help window has that title!.. Share this post Link to post Share on other sites