Hyperterminal Scripting

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
tmallardi
Newbie
Posts: 13
Joined: Tue Jul 08, 2003 1:50 am
Location: Dallas, TX, USA

Hyperterminal Scripting

Post by tmallardi » Tue Sep 26, 2006 12:19 am

Has anyone ever tried to automate a HyperTerminal session? I'd like to be able to check for the certain text strings that appear when logging into the remote host.

I've made some progress using "GetControlText" to monitor the connection status, but I can't get access to the actual data stream.

Any thoughts would be appreciated.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Sep 26, 2006 12:41 am

I have not used Hyper Terminal for a few years, but I seem to recall that output could be redirected to a file, or a log could be generated.

If that is the case, then you could parse that log/file with Separate/MidString/Poisition functions in Macro Scheduler.

Just an initial reaction to your request, may not have any value.....
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

tmallardi
Newbie
Posts: 13
Joined: Tue Jul 08, 2003 1:50 am
Location: Dallas, TX, USA

Post by tmallardi » Tue Sep 26, 2006 12:54 am

Hi Bob,

HyperTerminal does indeed capture text to a file. Unfortunately though, it doesn't write it's buffer until you stop the capture.

I guess I could try stopping the capture every 5 seconds or so, then parsing it.

I'll give that a try...


thanks

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts