From b076088601609915b0152947c210f16da78aa65a Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Sat, 20 Feb 2021 09:28:23 +0300 Subject: [PATCH] Orchestrator.RDPSessionCMDRun - Fix output (test) --- Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py b/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py index 2f827f24..16471546 100644 --- a/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py +++ b/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py @@ -357,6 +357,9 @@ def SystemCMDRun(inSessionHexStr, inCMDCommandStr = "echo 1", inModeStr="CROSSCH time.sleep(gRecoveryWindowRUNRetryIntervalSecInt) # wait for some seconds before new iteration # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # RUN CMD # # # # # # # # # # # # # # # + if inModeStr == "LISTEN": # if mode == LISTEN - set random number in clipboard + Clipboard.TextSet(lClipboardTextOld) # + time.sleep(0.5) # wait some time for the next operation keyboard.press_and_release('enter') # Execute CMD if inModeStr == "CROSSCHECK" or inModeStr == "LISTEN": # Get OutStr (Case CROSSCHECK and LISTEN) lClipboardWaitTimeStartSec = time.time()