RoboTask User's Guide
Keyword Index
Home page

IconQuick Start Guide
IconSeveral practical recommendations
IconTriggering Events
IconOther software

© 2004-2017 TaskAutomation.Software

Window Command

Top  Previous  Next


Manipulates certain windows that you specify.




Window Selection Mode

Use Window Parameters. In this case it is necessary to specify parameters of a required window: Window Caption, Window Class, compliance mode, etc. (see the description below).
Use Window Handle. In this case it is necessary to specify a Window Handle. Handle is a number, an identifier of a window. It can be got, for example, in the action “Window loop”. The Window Handle uniquely identifies the window in a system, so the rest of window parameters have no sense.
Use Current Window. In this case a current active window is used. For example, if the necessary window was activated in the previous actions of a task, there is no need to specify window parameters again. Just use the current active window.


Window Caption

Enter or select the caption of the window that you want to manipulate with the action you select in the Action list. You can enter part of a window caption.


Caption Must Match Exactly

Select this check box if you want to manipulate only the window that exactly matches the window caption you selected. This check box is cleared by default so that the task can manipulate windows that contain only part of the window caption entered in the Window Caption box. For example, you can enter <notepad> for the window with a caption <Untitled - Notepad>.



Select the action for manipulating the window.

Focus - makes the window active.
Minimize - reduces the window to an icon on the Windows taskbar.
Maximize - restores the window to fill the entire screen.
Restore - restores the window to its previous state.
Close - closes the window.
Hide - hides the window from view on the screen and Windows taskbar.
Unhide - displays the hidden window.


note Related Topics

Check for Window

Wait for Window

Window Size and Position

Window Elements Loop

Window Get Size and Position