RoboTask User's Guide
Keyword Index
Home page



IconQuick Start Guide
IconSeveral practical recommendations
IconMenus
IconActions
IconTriggering Events
IconAppendix
IconOther software

© 2004-2016 Neowise.com

Window Pixel

Top  Previous  Next

This action allows to get the color of a window pixel according to the specified coordinates and save it into a variable. The color of a pixel is a number. It can be compared with a sample like an ordinary number or with another color using a tolerance.

 

SCRWindowPixel

 

Window Selection Mode

The action allows to use three selection modes of a window to take a screenshot:

Use Window Parameters – the search of a window according parameters (Window Caption, Window class);
Use Window Handle – according the Window Handle. Each window in a system has the unique Handle. It can be got in the loop Window Loop. For example, the following task can be made: to take all screenshots, which have the word Notepad in their captions.
Use Current window – use the current active window.

 

Window Caption

Switch on this checkbox if you want to use the Window Caption for a search of a window. Then, fill in the field for the search of the Window Caption. The field can be filled in automatically when you select the window from the window list. You need to click the button to the right of the entry field. The usage of variables is allowed.

 

Window caption must match exactly

If it is necessary the Window Caption to be match exactly with the entry string, switch on this checkbox.

 

Window Class

Switch on this checkbox if you want to use the Window Class for a search of a window. Then, fill in the field for the search of the Window Class. The field can be filled in automatically when you select the window from the window list. You need to click the button to the right of the entry field. The usage of variables is allowed.

 

Window class must match exactly

If it is necessary the Window Class to be match exactly with the entry string, switch on this checkbox.

 

Select Window on the screen

Using this button you can select any window in a screen and fill in fields automatically. Just direct the mouse cursor on the necessary window and click Ctrl to select the window or Esc to cancel the operation. When moving the mouse cursor, the active window is highlighted in a red frame. You can use the mouse to manipulate with windows.

 

Window Handle

When using of the mode Use Window Handle, this parameter is available to the user. The Window Handle identifies the window explicitly. It is convenient to use this mode in the Window Loop. The loop allows to perform the selection of windows according to necessary criteria and save the window handle into a variable. By means of the window handle it is possible to take a snapshot

 

Coordinates

Specify the coordinates of a pixel from the top left corner of a window snapshot. The usage of variables in the expression is allowed. You can specify the coordinates interactive clicking the button Select Point.

 

Save Color To Variable

Specify the name of the variable in which it is necessary to save the color. The color of a pixel is a number. For the convenience of sensing, the action saves color in a hexadecimal look.

For example, $FFFF00, $800000

 

 

note Related Topics

Window Snapshot

Screenshot

Screen Pixel

Color Compliance

Wait for Pixels