Noob question.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Samil
Posts: 1
Joined: 19 Jun 2018, 01:14

Noob question.

19 Jun 2018, 01:21

Hi ive been trying to make a color identification tool with ahk, So far I know the basic functions but I dont know how to make an array of sorts, I want to be able to input a bunch of color codes into an array and I want to constantly search for send color, And if it does find said color it would make a beep. All I need help with is how to make a library to call upon so it can scan for the colors I put in.
Here is my code so far

Code: Select all

Loop
{
    Loop
    {
        CoordMode, Pixel, Screen
        PixelSearch, FoundX, FoundY, 0, 0, 1920, 1080, 0x131416, 0, Fast RGB
        If ErrorLevel = 0
        	SoundBeep
    }
    Until ErrorLevel = 0
}

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 309 guests