![]() ![]() For example, if *2 is specified and the color of a pixel is 0x444444, any color from 0x424242 to 0x464646 will be considered a match. * n (variation): Specify for n a number between 0 and 255 (inclusive) to indicate the allowed number of shades of variation in either direction for the intensity of the red, green, and blue components of each pixel's color. For example, *Icon2 would load the default icon from the second icon group. ![]() *Icon N: To use an icon group other than the first one in the file, specify *Icon followed immediately by the number of the group. Separate each option from the next with a single space or tab. Options: Zero or more of the following options may be also be present immediately before the name of the file. ![]() Other sources of icons include the following types of files: EXE, DLL, CPL, SCR, and other types that contain icon resources. Supported image formats include ANI, BMP, CUR, EMF, Exif, GIF, ICO, JPG, PNG, TIF, and WMF (BMP images must be 16-bit or higher). The file name of an image, which is assumed to be in A_WorkingDir if an absolute path isn't specified. Coordinates are relative to the active window's client area unless CoordMode was used to change that. The X and Y coordinates of the lower right corner of the rectangle to search. The X and Y coordinates of the upper left corner of the rectangle to search. References to the output variables in which to store the X and Y coordinates of the upper-left pixel of where the image was found on the screen (if no match is found, the variables are made blank). ImageSearch &OutputVarX, &OutputVarY, X1, Y1, X2, Y2, ImageFile Parameters &OutputVarX, &OutputVarY Searches a region of the screen for an image. ImageSearch - Syntax & Usage | AutoHotkey v2 ImageSearch ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |