PixelSearch

Ask gaming related questions (AHK v1.1 and older)
L0ggic
Posts: 10
Joined: 06 Jan 2023, 23:54

PixelSearch

15 Jan 2023, 08:38

so this script for 1920x1080, its for triggerbot

Code: Select all

PixelSearch, FoundX, FoundY, 957, 519, 961, 583, 0xFFFF55, 30, Fast RGB
can you help me for 1280x960

i hope u undestand what i mean
User avatar
mikeyww
Posts: 27271
Joined: 09 Sep 2014, 18:38

Re: PixelSearch

15 Jan 2023, 09:35

Hello,

You can use whatever coordinates you like. If you run Window Spy, it will show you the relative (window) and absolute (screen) coordinates. By default, coordinates for AHK commands are relative to the active window. You can use :arrow: CoordMode if you would like to change the point of reference.
mexican scientist
Posts: 33
Joined: 02 Jul 2020, 21:55

Re: PixelSearch

21 Jan 2023, 03:02

If I understand what you mean, then take a picture of your game by pressing the "print screen" button on the key board, then go to https://pixspy.com/
and paste it with ctrl + v.

In that page, you will find the coordinates of every single pixel of the monitor picture that you took. You can move the mouse and zoom in to see individual pixels and their coordinates.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 30 guests