NewWayOfRDPRobot-Create.rdp file and run it

dev-linux
Ivan Maslov 5 years ago
parent bd0561bfae
commit 6c4d52c418

@ -37,9 +37,9 @@ def SessionConnect(inRDPSessionConfiguration):
{"title":"&Всегда запрашивать учетные данные", "class_name":"Button"}] {"title":"&Всегда запрашивать учетные данные", "class_name":"Button"}]
).check() ).check()
#Set host:port #Set host:port
lHostPort=inRDPSessionConfiguration['host'] lHostPort=inRDPSessionConfiguration['Host']
if 'port' in inRDPSessionConfiguration: if 'Port' in inRDPSessionConfiguration:
lHostPort=f"{lHostPort}:{inRDPSessionConfiguration['port']}" lHostPort=f"{lHostPort}:{inRDPSessionConfiguration['Port']}"
UIDesktop.UIOSelector_Get_UIO( UIDesktop.UIOSelector_Get_UIO(
[ [
{"process": lProcessId, "backend": "uia"}, {"process": lProcessId, "backend": "uia"},

Loading…
Cancel
Save