You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
479 B
10 lines
479 B
from pyOpenRPA.Robot import UIDesktop
|
|
#Check for session is closed
|
|
def Monitor(inGlobalDict, inListUpdateTimeout):
|
|
lUIOSelectorList=[]
|
|
for lItem in inGlobalDict["RDPList"]:
|
|
lUIOSelectorList.append([{"title_re": f"{lItem['SessionHex']} — .*", "backend": "win32"}])
|
|
while True:
|
|
lRDPDissappearList = UIDesktop.UIOSelectorsSecs_WaitDisappear_List(lUIOSelectorList, inListUpdateTimeout)
|
|
for lItem in lRDPDissappearList:
|
|
#Session start |