Hello,
i successfully managed to write a pixelsearch script that fits my needs, but i want to improve it even more by making it work without me looking at the page.
So basically i want it to work as it does right now but even when the browser is minimized/tabs are switched.
Could i somehow do that? I could probably do this with Tampermonkey but i couldn't find any libraries/ready-to-use functions that would find the Pixel in x,y on the page.
PixelSearch in a browser Topic is solved
Re: PixelSearch in a browser
Probably not with minimized, but maybe with a background window. viewtopic.php?p=111080#p111080
Re: PixelSearch in a browser
This most likely could bypass my problem in a decent way, although i can't make it work, another problem is that using this i won't be able tomikeyww wrote: ↑14 Aug 2022, 10:22Probably not with minimized, but maybe with a background window. viewtopic.php?p=111080#p111080
Code: Select all
MouseClick, left
Re: PixelSearch in a browser
I have not used Tampermonkey. Others may know. In some cases, you can click in an inactive window. ControlClick
Re: PixelSearch in a browser Topic is solved
my "workaround":mikeyww wrote: ↑14 Aug 2022, 10:42I have not used Tampermonkey. Others may know. In some cases, you can click in an inactive window. ControlClick
i noticed the <div> inside the website code is changing whenver the colors are somewhat changing - so i am now checking jQuery class .html() value in a loop and whenever it varies i am simulating a mouse click, this way i don't need to have website active nor open - it will work always. I know my solution isn't any AHK related but i thought i'd share it anyways
Thanks for help anyways!