Novaterm 9.6 User's Guide

Function Keys menu. The command macro 1 outputs the
contents of function key #1, or F1 . Remember that the F1 macro key
is automatically defined with the password of the on-line service
during the dialing process. If we have our password specified in the
dialing entry for Eskimo North, then macro 1 will output that
password.

If the detected string was string #4, the script executes the end
command, which ends the script.

The last line of our script must re-enter the loop to search for the
remaining strings if the fourth string was not found. To do this, we
will first modify the line with the wait command to read:

loop wait

The word loop is not a script command; it is a label that functions as
a placeholder at a certain line in the script. We can now use the label
loop in our last line:

jump loop

The jump command tells the script to continue execution at the line
identified by the label loop . In our script, this command jumps back
to the wait command, continuing the search process. Note that if
string #4 is detected, the script ends (by way of the previous line, if
check 4 then end) before it can get to the jump command.

Let's do one more thing. Suppose we want to make sure Eskimo
North is going to respond to us after we connect. Sometimes, you
have to press the RETURN key a couple of times to get an on-line
service to respond. To cover this contingency, we insert the following
line at the beginning of our script:

output "^m"

This sends a carriage return before doing anything else.

Let's list out the entire script:

<---- Previous    Next ---->