Jump to content
Sign in to follow this  

Reading out of a console like Telnet or Dos-Box

Recommended Posts



I'm getting crazy.

I tried since some weeks to read the content of a telnet box.

I tried it, to copy the text of the console and save it in a variable.

That was really good, but I want to get the content of the box synchronous.

But if in the box an error occured I want to now it promptly and not after a certain time, autoit scans the content of the box with the copy-function.

The copy-function was like this:

When the console is open, then write:

send ( "!{SPACE}")

send ( "B")

send ( "A")

sleep (3000)

send ( "!{SPACE}")

send ( "B")

send ( "k")

But this is not the perfect solution.

I read a lot about reading from a console with autoit, but there isn't a perfect solution.

I tried the telnet-console from souce-forge, I tried Terra Term Pro, I tried to build my own console with autoit-Gui, but nothing gives me an acceptable solution.


What can I do.

My aim is: Get the conent of a telnet session from a unix-mashine...

Share this post

Link to post
Share on other sites

Why did you opened a new post instead of continuing your old one?


The copy function works only on a german locale of windows.

Sorry Hubertus,

but I thought, that nobody would read the old one.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.