![]() ![]() The mouse locator is an easy way to obtain the pixel coordinates when using the Specific Coordinates option. Use the "Active Window" numbers from the Mouse Locator with this option. This option instructs the macro to move the mouse cursor relative to its position within the window that is active or has focus. Use the "Screen Coordinates" numbers from the Mouse Locator with this option. Relative to Screen instructs the macro to move the mouse cursor relative to its position on the computer screen. Insert the X and Y coordinates of the pixel to find. With this option assign the specific mouse coordinates based on the active window or the entire screen. The pixel color is obtained wherever the mouse cursor is located at the time this command takes place during the macro. This option obtains the color of the pixel located directly underneath the mouse pointer. Script Editor > Expand System Category > Get Pixel Colorįirst select the option for determining the location of the pixel, either beneath the mouse or using specific coordinates. Or for a particularly difficult timing problem, the Get Pixel Color command may be the solution. ![]() For example, use this command to determine if a check box has been checked or not. This command can be used for a variety of tasks. For details about colors see How colors are displayed. This numeric value is then saved to an Integer variable such as N. The pixel color is assigned a numeric value by Windows, normally 6 – 8 digits in length. Use the Get Pixel Color option to obtain the pixel color underneath the mouse pointer. ![]()
0 Comments
Leave a Reply. |