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"}]
).check()
#Set host:port
lHostPort=inRDPSessionConfiguration['host']
if 'port' in inRDPSessionConfiguration:
lHostPort=f"{lHostPort}:{inRDPSessionConfiguration['port']}"
lHostPort=inRDPSessionConfiguration['Host']
if 'Port' in inRDPSessionConfiguration:
lHostPort=f"{lHostPort}:{inRDPSessionConfiguration['Port']}"
UIDesktop.UIOSelector_Get_UIO(
[
{"process": lProcessId, "backend": "uia"},

Loading…
Cancel
Save