selection structure question
Asked by
pipboy
Hi,thanks for all your previous help,
now this script almost complete
The "test.exe" will popup another Warning Windows when CPU usage over 90 %
then I tried hotkey "Alt+Shift+C" to interrupt loop but it does not work?
=======
for i in range(n):
openApp(
if exists ( img [ Warning Window: Program Already Running] , 10) :
click( img [Yes] ) #Continue loop
wait(1)
elif exists ( img [ Warning Window: Internal Error] ) :
type("c", KEY_ALT+KEY_SHIFT) #Exit Script and stop count
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.