mentosan Posted July 10, 2008 Share Posted July 10, 2008 Hi guys ! I'm building a script which will launch a telnet session and then it will send commands from time to time in a loop. I'm having 2 issues, hope to find the answers from you: 1). I want to use ControlSend to send strings in the telnet window; I need the ControlId but AutoIt Window Info with Finder Tool pointed in the telnet window shows nothing. So for example if I want to send command "ls" the synthax would be something like : ControlSend ("telnet","",?!,"ls") ? 2). What is the function in autoit which reads command from the output (telnet) ? For example I want to set a condition in the script when mesage "not connected" occurs. Thank you Link to comment Share on other sites More sharing options...
Andreik Posted July 10, 2008 Share Posted July 10, 2008 Q2. Look in help file about StdoutRead or search on forum for examples. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
mentosan Posted July 11, 2008 Author Share Posted July 11, 2008 (edited) OK. Thx Edited July 11, 2008 by mentosan 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