Jump to content

Recommended Posts

Posted (edited)

I'll start by saying this: I've not been working with AutoIt for very long, and my previous brush with programming (rather than cmd/UNIX scripting, which I do a fair bit of) was in PASCAL and ADA in the mid 90's. And I've effectively forgotten everything I learned of them.

So please try not to bombard me with too much code wizardry that I may or may not be able to make head nor tail of. :)

Right, so let's get to my query:

I won't bore you with the details (unless you want me to) but suffice it to say I need to telnet to a given host, send a few commands, parsing the screen output to determine the current state of play, send a few more commands when conditions are met, disconnect. The second bit isn't essential -- as I can probably get the information I need from a webpage and crunch that -- but it would be nice to know the commands haven't caused errors at runtime, and not have to mess around with the webpage if I can avoid it.

Is this going to be anywhere near straightforward?

TIA

~bxm

Edited by bluesxman
Posted

I need to telnet to a given host,

easy enough -- depending on your telnet client and its level of interactability.

send a few commands, parsing the screen output to determine the current state of play,

check out the Run options with regard to console interactions (stdout/stdin/stderr)

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...