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"
waitquiet 1
transmit "^M"
; ENTER THE SHELF NUMBER
waitfor "ENTER SHELF : [[24;28H"
transmit "1"
waitquiet 1
transmit "^M"
; CHOOSE 1 TO CHANGE THE SHELF
waitfor "SHELF=" Forever
waitfor "ENTER SELECTION : [24;32H"
transmit "1"
waitquiet 1
transmit "^M"
; ENTER THE SHELF NUMBER
waitfor "ENTER SHELF : [[24;28H"
transmit "1"
waitquiet 1
transmit "^M"