loop failed to execute by python
# $language = "Python"
# $interface = "1.0"
# Connect to a telnet server and automate the initial login sequence.
# Note that synchronous mode is enabled to prevent server output from
# potentially being missed.
crt.Screen.Synchronous = True
# connect to host on port 23 (the default telnet port)
#count = crt.Arguments
count = 0
while count<5 :
# crt.Screen.WaitForString("Enter password>")
count = count +1
crt.Screen.Synchronous = False
Last edited by jdev; 05-15-2019 at 09:39 AM.
Reason: Use code tags around code