Ok, I have been working with AutoIt - and yes this may be the wrong place for this, but everyone here is so helpfull - I have been unable to discern how to read the text in the hyperterminal display window.

Here is my current bit of code..
Code:

Function WriteConfig()
$Auto = CreateObject('AutoItX3.Control')
If @ERROR OR VarType($Auto)<>9 'ERROR: Could not create AutoIt instance' ?
Exit @ERROR
EndIf
Run '"C:\Program Files\Windows NT\hypertrm.exe" serial'
Sleep 5
$Var = ""

While $Var <> "Router>"
? $Var
$Var = $Auto.ControlGetText("serial - HyperTerminal","","3")
Loop



$nul = $Auto.Send("{enter}")
$nul = $Auto.Send("EN{enter}")


Yes there is much more after that but not relevant to the problem.

When I ? $Var there is no output to the screen as if it is not reading the text.

I have tried several different way's of getting the text on the screen, but have not found it as of yet. And was hoping there was someone here that already had the answer.

I have also tried using TeraTerm, and SecureCRT, and none of them are working the way that I need.
_________________________
Today is the tomorrow you worried about yesterday.