Autoit imagesearch from windows inactive/unfocussed/background

1.3k Views Asked by At

I can't use the function imagesearch to search the image in inactive windows. Anyone can help me, I need it for my software.

1

There are 1 best solutions below

0
On

The popular User Defined Function Imagesearch is (according to the author) based on the AutoHotKey function of the same name.

From the documentation it says:

The region to be searched must be visible; in other words, it is not possible to search a region of a window hidden behind another window. By contrast, images that lie partially beneath the mouse cursor can usually be detected. The exception to this is game cursors, which in most cases will obstruct any images beneath them.