Encapsulates the AutoMate™ action in the “Window” group, “Unhide.” Finds the window with the title text indicated and unhides the window.
Declaration
function WindowUnhide(varWindowTitle As Variant,
intExactMatch As Integer) As Integer
Parameters
varWindowTitle
The text of the window title to be revealed.
intExactMatch
Whether or not the title bar text should match varWindowTitle exactly or partially. Use “0” for a partial match “1” for an exact match.
Description
The WindowUnhide method will attempt to locate a hidden window with the title specified in the varWindowTitle parameter. If a window exists, AutoMate™ will attempt to unhide the window. If a window cannot be found, the method returns “1”, indicating a failed step.
If multiple windows are found matching varWindowTitle, AutoMate™ will attempt to unhide the first window it eternally enumerates.