orc: fix issue 21 on the gitlab

dev-fastapi
Иван Маслов 2 years ago
parent 55f238e07f
commit 89087dc7fe

@ -87,21 +87,23 @@ def RobotRDPActive(inGSettings, inThreadControlDict):
lRDPSessionKeyStr = inGlobalDict["FullScreenRDPSessionKeyStr"] # Get the RDPSessionKeyStr lRDPSessionKeyStr = inGlobalDict["FullScreenRDPSessionKeyStr"] # Get the RDPSessionKeyStr
if lRDPSessionKeyStr in inGlobalDict["RDPList"]: # Session Key is in dict if lRDPSessionKeyStr in inGlobalDict["RDPList"]: # Session Key is in dict
lRDPConfigurationDict = inGlobalDict["RDPList"][lRDPSessionKeyStr] lRDPConfigurationDict = inGlobalDict["RDPList"][lRDPSessionKeyStr]
#if not lRDPConfigurationDict["SessionIsIgnoredBool"]: # Session is not ignored # SET FULL SCREEN ONLY IF NOT IGNORED
# Check if full screen if not lRDPConfigurationDict["SessionIsIgnoredBool"]:
lIsFullScreenBool = Connector.SessionIsFullScreen(inSessionHexStr=lRDPConfigurationDict["SessionHex"]) #if not lRDPConfigurationDict["SessionIsIgnoredBool"]: # Session is not ignored
if not lIsFullScreenBool: # If not the full screen # Check if full screen
# Check all RDP window and minimize it lIsFullScreenBool = Connector.SessionIsFullScreen(inSessionHexStr=lRDPConfigurationDict["SessionHex"])
for lRDPSessionKeyStrItem in inGlobalDict["RDPList"]: if not lIsFullScreenBool: # If not the full screen
lRDPConfigurationDictItem = inGlobalDict["RDPList"][lRDPSessionKeyStrItem] # Check all RDP window and minimize it
if Connector.SessionIsFullScreen(inSessionHexStr=lRDPConfigurationDictItem["SessionHex"]): for lRDPSessionKeyStrItem in inGlobalDict["RDPList"]:
if inThreadControlDict["ThreadExecuteBool"] == True: # TEST FEATURE BEFORE ONE THREAD INTEGRATION lRDPConfigurationDictItem = inGlobalDict["RDPList"][lRDPSessionKeyStrItem]
Connector.SessionScreenSize_X_Y_W_H(inSessionHex=lRDPConfigurationDictItem["SessionHex"], inXInt=10, inYInt=10, if Connector.SessionIsFullScreen(inSessionHexStr=lRDPConfigurationDictItem["SessionHex"]):
inWInt=550, if inThreadControlDict["ThreadExecuteBool"] == True: # TEST FEATURE BEFORE ONE THREAD INTEGRATION
inHInt=350) # Prepare little window Connector.SessionScreenSize_X_Y_W_H(inSessionHex=lRDPConfigurationDictItem["SessionHex"], inXInt=10, inYInt=10,
# Set full screen for new window inWInt=550,
if inThreadControlDict["ThreadExecuteBool"] == True: # TEST FEATURE BEFORE ONE THREAD INTEGRATION inHInt=350) # Prepare little window
Connector.SessionScreenFull(inSessionHex=lRDPConfigurationDict["SessionHex"], inLogger= inGSettings["Logger"], inRDPConfigurationItem=inGlobalDict["RDPList"][lRDPSessionKeyStrItem]) # Set full screen for new window
if inThreadControlDict["ThreadExecuteBool"] == True: # TEST FEATURE BEFORE ONE THREAD INTEGRATION
Connector.SessionScreenFull(inSessionHex=lRDPConfigurationDict["SessionHex"], inLogger= inGSettings["Logger"], inRDPConfigurationItem=inGlobalDict["RDPList"][lRDPSessionKeyStrItem])
else: else:
# Check all RDP window and minimize it # Check all RDP window and minimize it
for lRDPSessionKeyStrItem in inGlobalDict["RDPList"]: for lRDPSessionKeyStrItem in inGlobalDict["RDPList"]:

@ -12,6 +12,7 @@ AGT - AGENT
- - Новые функции для упрощенной работы с FastAPI: Orchestrator.WebAuthDefGet Orchestrator.WebAppGet - - Новые функции для упрощенной работы с FastAPI: Orchestrator.WebAuthDefGet Orchestrator.WebAppGet
- - Поддержка функции развертывания / сворачивания рабочей области на весь экран - - Поддержка функции развертывания / сворачивания рабочей области на весь экран
- - Ошибка в кнопках управления RDP сессиями: Полный экран / Игнорировать / Переподключить - - Ошибка в кнопках управления RDP сессиями: Полный экран / Игнорировать / Переподключить
- - Устранена несовместимость кнопок Полный экран / Игнорировать
[1.3.1] [1.3.1]
- ОРКЕСТРАТОР - ОРКЕСТРАТОР

Loading…
Cancel
Save