|
Hide Window Action |
Declaration |
<AMWINDOWHIDE WINDOWTITLE="text" WINDOWCLASS="text" WINDOWHANDLE="number" ALLOWHIDDEN="yes/no" {also accepts all standard Window Dissection parameters}> |
See Also |
Close Window, Maximize Window, Focus Window, Restore Window, Minimize Window, Unhide Window, Resize Window, Move Window, Wait for Window, End Process |
Hides the specified window. Hiding a window makes the windows invisible so that it cannot be seen or interacted with. NOTE: The only way to access a window that has been hidden is to Unhide it first. Keystrokes and mouse clicks cannot be sent to Hidden Windows.
Generally used to hide an already open window so that it does not interfere with the users work while running. It is very important to remember that since the window is hidden - if anything goes wrong during the external program's execution you may not be able to see it, furthermore it is not possible to exit an application that is hidden except by Ending the process either using AutoMate or the Windows Task Manager. Hide Window is designed to be used on applications that are already open - to start an application in hidden mode - set the "Window Startup" parameter to "Hidden" [WINDOWSTARTUP="hidden"] in the Run <AMRUN> action instead.
Specifies the title of the Window to hide. The value is case-insensitive. This parameter supports wildcards (* and ?), for example "*Internet Explorer* would include all Windows containing that text. Note: If this parameter is left blank the action assumes it is searching for a Window title that is blank - to ignore the WIndow title, use *.
Specifies the class of the Window to act on. The value is case-insensitive. This parameter supports wildcards (* and ?), for example "*Internet Explorer* would include all Windows classes containing that text. Note: If this parameter is left blank the action assumes it is searching for a Window class that is blank - to ignore the WIndow class, use *.
Specifies the handle of the Window to act on. If set to 0 or omitted the parameter is ignored.
When enabled, specifies that hidden (non-visible) windows should be included in the window search. By default hidden windows are considered unavailable.
The contents tab contains standard Windows dissection parameters used to describe controls or text inside a window. These parameters are the same on every action that specifies a window and are documented under Window Dissection Parameters.
Standard Error Handling Options
This action also includes the standard "Error Causes" and
"On Error" failure handling options/tabs
More on Error Handling Options
Variables and Expressions
All text fields allow the use of expressions by surrounding the
expression in percentage signs (example: %MYVARIABLE%,
%Left('Text',2)%). To help construct these expressions, a popup
expression builder is available in all these fields by pressing F2.
More on variables...
More on expressions...
More on the expression builder...
<AMWINDOWHIDE WINDOWTITLE="Document1 - Microsoft Word">