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.
25 lines
766 B
25 lines
766 B
import Robot
|
|
import keyboard
|
|
import time
|
|
lI=0
|
|
while True:
|
|
lResult=Robot.ActivityRun(
|
|
{
|
|
"ModuleName":"GUI",
|
|
"ActivityName":"UIOSelectorUIOActivity_Run_Dict",
|
|
"ArgumentList":
|
|
[
|
|
[
|
|
{
|
|
"title":"Studio",
|
|
"rich_text":"Studio","process_id":1604,"process":1604,"handle":1048718,"class_name":"CabinetWClass","control_type":"","control_id":None,
|
|
"rectangle":{"left":466,"top":114,"right":1605,"bottom":755},"runtime_id":None,"backend":"win32"
|
|
}
|
|
]
|
|
,"get_properties"
|
|
]
|
|
}
|
|
)
|
|
print(lResult)
|
|
lI=lI+1
|
|
print("Iteration:"+str(lI)) |