Jump to content

Best practice to color tag specific coordinate

Recommended Posts

Hi guys, I'm trying to use PixelGetColor/PixelSearch to determine which circle have the particular colors. So, i need to know that circle 1 is red, circle 2 is yellow, circle 3 is green and circle 4 is blue.

Im still novice, i dont know how to loop, use Case Not @error, while, If Else yet. Please show me the best practices on how to check one each colors and determine the color of the circle and then move on to the next cricle.

 Please give me guidance, im a fast learner. thank you for your time.



Edited by Melba23
Code and image removed

Share this post

Link to post
Share on other sites


Please read our forum rules and do not PM members for assistance unless that was agreed upon.


Share this post

Link to post
Share on other sites


It does indeed - a simple rewrite of the question you asked here. Part of those Forum rules to which you keep getting pointed states:

Do not repost the same question if the previous thread has been locked - particularly if you merely reword the question to get around one of the prohibitions listed above.

which is exactly what you have done here. You have now used up any flex we are prepared to offer - please do NOT post this question a third time, nor break any other of the simple rules we ask members to follow. Thread locked.


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.

  • Create New...