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.
24 lines
654 B
24 lines
654 B
import Robot
|
|
import keyboard
|
|
import time
|
|
lI=0
|
|
while True:
|
|
lResult=Robot.ActivityRun(
|
|
{
|
|
"ModuleName":"GUI",
|
|
"ActivityName":"UIOSelectorUIOActivity_Run_Dict",
|
|
"ArgumentList":[
|
|
[
|
|
{"title":"PuTTY Configuration","class_name":"PuTTYConfigBox","backend":"uia"},
|
|
{"ctrl_index":8},
|
|
{"ctrl_index":0}
|
|
],
|
|
"type_keys",
|
|
["Testd"]
|
|
]
|
|
})
|
|
keyboard.press_and_release('ctrl+a')
|
|
keyboard.press_and_release('del')
|
|
print(lResult)
|
|
lI=lI+1
|
|
print("Iteration:"+str(lI)) |