Unhide Window Action Icon

Unhide Window Action

Declaration

<AMWINDOWUNHIDE WINDOWTITLE="text" WINDOWCLASS="text" WINDOWHANDLE="number" {also accepts all standard Window Dissection parameters}>

See Also

Close Window, Maximize Window, Focus Window, Restore Window, Hide Window, Minimize Window, Resize Window, Move Window, Wait for Window, End Process

Description

"Unhides" the specified hidden window. "Unhiding" a previously hidden window causes the window to become visible again so that it can be seen and 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.

Practical Usage

Generally used to unhide (make visible) a window that has been previously hidden using the Hide Window <AMWINDOWHIDE> action or using the "Window Startup" parameter as "Hidden" [WINDOWSTARTUP="hidden"] in the Run <AMRUN> action.

Parameters

General Tab

Window Title
Text, Required
MARKUP:
a) WINDOWTITLE="Untitled - Notepad"

Specifies the title of the Window to unhide. 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 *.

Window Class
Text, Required
MARKUP: WINDOWCLASS="Outlook Express Browser Class"

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 *.

Window Handle
Number, Optional - Default - 0
MARKUP: WINDOWHANDLE="555735"

Specifies the handle of the Window to act on. If set to 0 or omitted the parameter is ignored.

Contents Tab

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.

 Notes

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...

Example

<AMWINDOWUNHIDE WINDOWTITLE="Document1 - Microsoft Word">