admin管理员组

文章数量:1400027

In PowerTerm Pro, running the VT 220-7, I have recorded a simple macro for logging into my server after connecting. All it does is send my credentials: username and password. But the problem is, it sends the password too quickly after sending the username.

Looking over the PowerTerm PSL Reference file, there is a WAIT command, but it seems overly complex for just waiting a few seconds.

This is its syntax from the reference document:

wait number for text [at row column]
wait number seconds

number: Specifies the number of seconds required to wait.
text: Specifies the text that is expected.
row column: Specifies where to expect text to appear.

I have no idea what to put for the [row column] nor the text for what "text" is expected. Any suggestions?

The script type is PSL, and looks like this:

#
#This script file was recorded automatically
#
send "username<cr>"
send "password<cr>"

本文标签: