I am using the following command to start a Procomm session and run an Aspect script:
"pw4.exe" TELNET CONNECT MANUAL <machineName> <aspectScriptFileName>
<aspect parameters>
My aspect script contains the following code:
***
proc main
waitfor "login:"
transmit "root^M"
waitfor "Password:"
transmit "abc^M"
waitfor "#"
set capture path S1
set capture file S2
capture on
pause 1
transmit "showCfg^M"
waitfor ">"
transmit "showEditOpt^M"
waitfor "quit" 10
transmit "q^M"
pause 1
capture off
pwexit
endproc
***
When I launch this in a minimized window, my capture file only contains the first 6 lines of the information. When I maximize the PW4 window it works fine. I have added delays and they don't help.
Any other ideas?? Has anyone else seen this happen?
"pw4.exe" TELNET CONNECT MANUAL <machineName> <aspectScriptFileName>
<aspect parameters>
My aspect script contains the following code:
***
proc main
waitfor "login:"
transmit "root^M"
waitfor "Password:"
transmit "abc^M"
waitfor "#"
set capture path S1
set capture file S2
capture on
pause 1
transmit "showCfg^M"
waitfor ">"
transmit "showEditOpt^M"
waitfor "quit" 10
transmit "q^M"
pause 1
capture off
pwexit
endproc
***
When I launch this in a minimized window, my capture file only contains the first 6 lines of the information. When I maximize the PW4 window it works fine. I have added delays and they don't help.
Any other ideas?? Has anyone else seen this happen?