Kryten68 Posted November 9, 2008 Share Posted November 9, 2008 Hi, I'd like to be able to read data coming into my data terminal session in Procomm Plus and have my AutoIt script analyse that data, then automate what is done next. I can get AutoIt to start Procomm and make the (telnet) connection to the target(s), I can automate the keys that are sent, generally this is fine, but figuring out how to read the incoming strings from the targets is the final bit in the jigsaw for me. Would be very grateful for any pointers. Thanks, Stuart Link to comment Share on other sites More sharing options...
herewasplato Posted November 9, 2008 Share Posted November 9, 2008 I'm not sure that it will work for this app, but try starting the app using Run() with StdinWrite/StdoutRead [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 9, 2008 Share Posted November 9, 2008 Hi,I'd like to be able to read data coming into my data terminal session in Procomm Plus and havemy AutoIt script analyse that data, then automate what is done next.I can get AutoIt to start Procomm and make the (telnet) connection to the target(s), I can automatethe keys that are sent, generally this is fine, but figuring out how to read the incoming stringsfrom the targets is the final bit in the jigsaw for me.Would be very grateful for any pointers.Thanks,StuartProcomm Plus has its own scripting language called 'Aspect' (I used to use it years ago). Have you investigated just using that? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Kryten68 Posted November 9, 2008 Author Share Posted November 9, 2008 Hi, Thanks for this, yes. I've been using Aspect for a very long time and I'm a huge fan of it. However, for the applications that I have in mind either AutoIt or Powershell will be better for two main reasons:- [1] For example, depending on what the terminal window gets back from my session host I may need to query a database..populate a GUI etc. Which tends to get a bit more involved in that language than I want to get. [2] My customer is considering pulling the plug on the use of telnet. Curses. No telnet means no Procomm. Thats why I'm now keen to use AutoIt or Powershell. So far I can get EVERYTHING I need going, except reading the input going to the terminal window. Hope this explains why I want to use AutoIT. Cheers, Stuart Link to comment Share on other sites More sharing options...
herewasplato Posted November 10, 2008 Share Posted November 10, 2008 ... reading the input going to the terminal window. ...I'm confused - t'ain't nothin' new.StdinWrite to simulate a human typing into the Procomm appStdoutRead to simulate a human reading info from the Procomm appIs some other app causing "the input going to the terminal window" and you want AutoIt3 to read that info? [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 10, 2008 Share Posted November 10, 2008 I'm confused - t'ain't nothin' new.StdinWrite to simulate a human typing into the Procomm appStdoutRead to simulate a human reading info from the Procomm appIs some other app causing "the input going to the terminal window" and you want AutoIt3 to read that info?I don't have it to play with any more, but I think it winds up being custom app control that you can't read text from directly, sort of like a command line window. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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