#1
|
|||
|
|||
crt.Sleep not work
Hi,
I need use a script with a delay in the commands. I find the command crt.Sleep but I use it but no do a delay in the commands. I canīt ude crt.Screen.WaitForString in my case. Tested in version 6.6 and 7.2 SecureCRT. example: ....................................................... #$language = "VBScript" #$interface = "1.0" crt.Screen.Synchronous = True ' This automatically generated script may need to be ' edited in order to work correctly. Sub Main crt.screen.send chr(13) crt.screen.send "show system info" & chr(13) crt.Screen.Send vbCr crt.Sleep 10000 crt.screen.send "show jobs all" & chr(13) crt.Screen.Send vbCr crt.Sleep 10000 crt.screen.send "request system software info " & chr(13) crt.Screen.Send vbCr crt.Sleep 10000 crt.screen.send "end" & chr(13) End Sub ....................................................... If I run this script, I see no do anything in 20 segs aprox, and do all. No execute the crt.Sleep Anything can help me? Regards varondan |
Tags |
crt.sleep , sleep |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|