Hi,
I'm trying to run an auto delete script on my app but I'm running into a problem where after a few deletes it will freeze up the window...it'll say on the top bar "Address Book #1 - ASG-Cypress (Not Responding)" Is there a way to have the script "know" when it's in the "Not Responding" state and have the script wait until it resumes and then after it's back continue with the loop and delete the rest?
Here's my script:
Code:
loop, 500
{
WinWait, Address Book #1 - ASG-Cypress,
IfWinNotActive, Address Book #1 - ASG-Cypress, , WinActivate, Address Book #1 - ASG-Cypress,
WinWaitActive, Address Book #1 - ASG-Cypress,
MouseClick, left, 299, 17
Sleep, 100
MouseClick, left, 536, 223
Sleep, 100
WinWait, UI,
IfWinNotActive, UI, , WinActivate, UI,
WinWaitActive, UI,
MouseClick, left, 209, 92
Sleep, 90000
}