ImageSearch In the background Topic is solved
ImageSearch In the background
Hi! How to run ImageSearch in the background so that after clicking eg "g" left click on the image?
Re: ImageSearch In the background Topic is solved
Hallo,
ImageSearch rearches a region of the screen for an image, not a region of a defined window.
https://www.autohotkey.com/docs/commands/ImageSearch.htm#Remarks
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.
(If you only have one monitor, you could try to fool Windows into thinking you have a second monitor. If I turn off my second monitor, ImageSearch can still find images there.)
ImageSearch rearches a region of the screen for an image, not a region of a defined window.
https://www.autohotkey.com/docs/commands/ImageSearch.htm#Remarks
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.
(If you only have one monitor, you could try to fool Windows into thinking you have a second monitor. If I turn off my second monitor, ImageSearch can still find images there.)