/
xsh.Screen.WaitForStrings in python [1]
xsh.Screen.WaitForStrings in python [1]
xsh.Screen.WaitForStrings in python
Monday, July 18, 2016 7:46 AM - sharenpk
def Main():
xsh.Screen.Synchronous = True
g_vWaitFors = [
"Waiting for 1",
"Waiting for 2"]
xsh.Screen.Send('dir\r ')
xsh.Screen.WaitForStrings(g_vWaitFors, 1000)
xsh.Session.StopLog()
xsh.Screen.Synchronous = False
run this script,Prompt
Error:80004005,SerScriptState
why ?
delete xsh.Screen.WaitForStrings(g_vWaitFors, 1000) , is ok
Program Ver. : Xshell 5
xsh.Screen.Synchronous = True
g_vWaitFors = [
"Waiting for 1",
"Waiting for 2"]
xsh.Screen.Send('dir\r ')
xsh.Screen.WaitForStrings(g_vWaitFors, 1000)
xsh.Session.StopLog()
xsh.Screen.Synchronous = False
run this script,Prompt
Error:80004005,SerScriptState
why ?
delete xsh.Screen.WaitForStrings(g_vWaitFors, 1000) , is ok
Program Ver. : Xshell 5
Re: xsh.Screen.WaitForStrings in python
Tuesday, July 19, 2016 6:24 AM - Support
There seems to be an issue with the python script API. We'll locate the problem and fix it as soon as possible. Thank you for the information.
The python script API of Xshell has some problems now.
We'll find the problems and fix them.
Technical Support
Like us on Facebook
Follow us on Twitter
Visit our blog Blog
The python script API of Xshell has some problems now.
We'll find the problems and fix them.
Technical Support
Like us on Facebook
Follow us on Twitter
Visit our blog Blog
Previous views: 160
Related content
Type mismatch for Python script xsh.Screen.WaitForStrings() [2]
Type mismatch for Python script xsh.Screen.WaitForStrings() [2]
More like this
not working xsh.Screen.WaitForString("login") xsh.Screen.Send("admin") [1]
not working xsh.Screen.WaitForString("login") xsh.Screen.Send("admin") [1]
More like this
xsh.Screen.WaitForStrings return -1 [2]
xsh.Screen.WaitForStrings return -1 [2]
More like this
윈도우 11 24H2 버전에서 waitforstrings 함수가 작동하지 않는 문제
윈도우 11 24H2 버전에서 waitforstrings 함수가 작동하지 않는 문제
More like this
WaitForStrings Return Value ERROR [1]
WaitForStrings Return Value ERROR [1]
More like this
Screen.WaitForStrings broken in latest Xshell6 build [6]
Screen.WaitForStrings broken in latest Xshell6 build [6]
More like this