Jump to content

Recommended Posts

Posted

I have a software that scrape information in google search.

And it's pretty convenient so I set it to run in time interval.

The problem is whenever my connection lost, it stuck at the loading, and can't progressing.

So is there anyway to check if it stuck at loading page longer than 10 sec , it automatically kill the process ?

I am trying to use imagesearch, but don't know how to kill process if image found and longer than 10 sec.

While 1
If ProcessExists ("WebScrape.exe") Then
  $Search = _ImageSearch('stuck.bmp', 0, $X, $Y, 0)
EndIf
WEnd

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...