ACTIVATE - Activate a window
Purpose: Activate a window, set its state, or change its title.
Format: ACTIVATE "window " [MAX | MIN | RESTORE | CLOSE]
window : Current title of window to work with.
See also: START, TITLE, and WINDOW.
Usage
The name of the window must be enclosed in double quotes.
If no options are used, the window named in the command will become the
active window and be able to receive keystrokes and mouse commands.
The MAX option expands the window to its maximum size, the MIN option
reduces the window to an icon, and the RESTORE option returns the window
to its default size and location on the desktop. The CLOSE option closes
the window and ends the session running in the window.
This example maximizes and then renames the window called "CMD.EXE":
[c:\] activate "CMD.EXE" max
[c:\] activate "CMD.EXE" "Command Prompt"
You can use wildcards in the window name if you only know the first part
of the title. This is useful with applications that change their window
title to reflect the file currently in use.
ACTIVATE is often used before KEYSTACK to make sure the proper window
receives the keystrokes. ACTIVATE works by sending the appropriate
messages to the named window. If the window ignores or misinterprets the
messages, ACTIVATE may not have the effect you want.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs