Syntax
AppRestore [WindowName$]
AppRestore([WindowName$])
Remarks
In Windows, the AppRestore statement restores the specified application from a maximized or minimized state and activates the application. If the specified application is already restored, AppRestore has no effect.
Argument | Explanation |
WindowName$ | A string that matches the beginning of an application window name, as it appears in the title bar or Task List (Windows). If omitted, Word is assumed. For more information on WindowName$, see AppActivate. |
The AppRestore() function returns the following values.
Value | Explanation |
–1 | If the application is restored |
0 (zero) | If the application is not restored |
For an example, see AppMove.
On the Macintosh, AppRestore and AppRestore() are not available and generate errors.
See Also
AppMaximize, AppMinimize, AppMove, AppSize, DocRestore