Guest mima500 Posted June 17, 2005 Share Posted June 17, 2005 Hi I want to read in an active window and see if a specified text apeers. Can I do that ? /Mima Link to comment Share on other sites More sharing options...
buzz44 Posted June 17, 2005 Share Posted June 17, 2005 WinGetText() > Help file > READ. qq Link to comment Share on other sites More sharing options...
Guest mima500 Posted June 17, 2005 Share Posted June 17, 2005 Thanks, I am new in AutoIt. I have 2 questions. 1. I have done a script that starts a telnet session to a switch and download the configuration. I is simply a lot of keypress with for ex Send("{TAB 5}{Enter}") and so on. BUT when I download the configuration it takes different time, so I have put a delay for 30 sec, but it would be better that I continue when I get the right text on the screen, "Download completed". 2.Can an AutoIT scripts continue to press key and read windows if it has lost focus on its window, for example minimized, screensaver started. Link to comment Share on other sites More sharing options...
herewasplato Posted June 17, 2005 Share Posted June 17, 2005 Thanks, I am new in AutoIt. I have 2 questions. 1. I have done a script that starts a telnet session to a switch and download the configuration. I is simply a lot of keypress with for ex Send("{TAB 5}{Enter}") and so on. BUT when I download the configuration it takes different time, so I have put a delay for 30 sec, but it would be better that I continue when I get the right text on the screen, "Download completed".2.Can an AutoIT scripts continue to press key and read windows if it has lost focus on its window, for example minimized, screensaver started.<{POST_SNAPBACK}>A forum search for "telnet" will give you a lot to read.. like:http://www.autoitscript.com/forum/index.ph...indpost&p=50710If you send the output of the telnet session to a txt file AutoIt can "look for" "Download completed" within that file.As for working with screens while minimized - this has also been covered in other posts - probably within the same telnet posts.happy hunting [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now