PixelSearch on a Minimized or Background Window

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Icey
Posts: 16
Joined: 28 Sep 2018, 23:19

PixelSearch on a Minimized or Background Window

Post by Icey » 11 May 2021, 09:39

Hey guys ,

So i've made a scrip, clicking on a specific color, in a specific window (ahk_pid) with randomized timing, looping, etc. All good, except it doesn't work if I minimize the window ( understandable, I think ). Is there a reasonable way to make it work? Normal clicks on specific X,Y position works perfectly even if minimized or not, but .. not for PixelSearch ( Color Search ).

Will really appreciate any help on this matter.

Thanks!
malcev
Posts: 1769
Joined: 12 Aug 2014, 12:37

Re: PixelSearch on a Minimized or Background Window

Post by malcev » 11 May 2021, 09:43

It is impossible with minimized.
With background windows You can use gdip library.
Icey
Posts: 16
Joined: 28 Sep 2018, 23:19

Re: PixelSearch on a Minimized or Background Window

Post by Icey » 11 May 2021, 09:48

malcev wrote:
11 May 2021, 09:43
It is impossible with minimized.
That's .. sad! :)
malcev wrote:
11 May 2021, 09:43
With background windows You can use gdip library.
I read that, but .. can't seem to figure it out how to make it work properly. Any ..help in this regard? Downloads, exemples?

Thank you!
Post Reply

Return to “Ask for Help (v1)”