In the below excerpt, is there a way to remove the "Forever" from the waitfor statement and replace it with an "else" statement that would send us back to the start of the script?
THANKS!
waitfor "ENTER SHELF : ^[[24;28H" Forever
transmit sShelf
transmit "^M"
In the below script excerpt, is there a way to direct the script to look in the a: or d: drive for the text file "nychips1.txt"?
if fopen 0 "nychips1.txt" READ TEXT
; TELNET INTO THE CONTROLLER
connectmanual telnet "89.1.16.101
In the first few steps in the script below, is there a way to have the shelf number pulled from one text file and the slot number pulled from another. (In other words, I need the numbers transmitted in both those steps to be grabbed from a text file. Can I use the same text file and separate...
In an eight step Telnet process which waits for queues then sends keystrokes, how do I get a loop in place for just one step, where the text inputed is drawn from a text file?
Script:
proc main
; TELNET INTO THE CONTROLLER
connectmanual telnet "89.1.16.105"
; CHOOSE 1 SELECT UNIT...
How do I redirect my script in a loop to grab the two variables below being transmitted (in this case a 1) from an alternate file?
; CHOOSE 1 TO CHANGE THE SHELF
waitfor "SHELF=" Forever
waitfor "ENTER SELECTION : [24;32H"
transmit "1"...
Is there a way to scan a screen of output for a particular string, then fire off the next line of the script? (As opposed to Waiting for the string to appear.)
When Telnetting into my Adtran device I need to issue a WaitQuiet command, but experience a delay because the prompt I waiting for is...
Why is it that I can transmit keystrokes to a Cisco device that I Telnetted to, but I can't transmit ANY keystrokes (letters or numbers) to an Adtran modem controller that I Telnetted to?
Am I missing something obvious?
(Thanks for previous help!!!!!)
I need to develop a script that Telnets (IP) and sends keystrokes into an Adtran modem depending on what the display shows..
The Adtran menu displays a number of options. Does the "waitfor" command scan the entire display before allowing the script to proceed, or does it proceed as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.