Tham khảo tài liệu 'autoit help part 39', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Opt TrayMenuMode 0 0 append 1 no default menu 2 no automatic check 4 menuitemID not return Opt TrayOnEventMode 0 0 disable 1 enable Opt WinDetectHiddenText 0 0 don t detect 1 do detect Opt WinSearchChildren 1 0 no 1 search children also Opt WinTextMatchMode 1 1 complete 2 quick Opt WinTitleMatchMode 1 1 start 2 subStr 3 exact 4 advanced -1 to -4 Nocase Opt WinWaitDelay 250 250 milliseconds Function Reference PixelGetColor trả lại giá trị màu tại điểm ảnh. PixelGetColor x y hwnd Parameters x tọa đọ X y tọa độ Y hwnd handle tới GUI muốn kiểm tra nếu ko có thì GUI hiện tại Return Value Success trả lại số hex 0x. Failure Returns -1 nếu tọa độ sai. Remarks Earlier versions of AutoIt prior to used the BGR format for defining color - newer versions use RGB by default but this can be changed using the ColorMode option. Related ColorMode Option PixelSearch PixelCoordMode Option MouseGetPos Example var PixelGetColor 10 100 MsgBox 0 The decmial color is var MsgBox 0 The hex color is Hex var 6 Function Reference PixelSearch tìm kiếm điểm ảnh trên phân vùng chỉ định. PixelSearch left top right bottom color shade-variation step hwnd Parameters left xl top yl right x2 bottom y2 colour giá trị màu muốn tìm shadevariation độ chính xác mặc định là 0 step bước nhảy mặc định là 1 hwnd handle tới GUI muốn kiểm tra nếu ko có thì GUI hiện tại Return Value Success trả lại mảng 2 phần tử array 0 tọa độ x array 1 tọa độ y Failure Sets @error to 1 nếu ko tìm thấy Remarks The search is performed left-to-right top-to-bottom and the first match is returned. Earlier versions of AutoIt prior to used the BGR format for defining color - newer versions use RGB by default but this can be changed using the ColorMode option. Remember a typical display at 1024 x 768 has 786432 pixels. Although PixelSearch is optimized narrowing the search area helps speed up the result. Related ColorMode Option PixelChecksum PixelGetColor PixelCoordMode Option Example Find a pure red pixel in the