Window management

From Rosetta Code
Revision as of 20:39, 27 May 2009 by rosettacode>Tinku99 (minmize maximize windows with autohotkey)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Task
Window management
You are encouraged to solve this task according to the task description, using any language you may know.

Treat windows or atleast window identities as first class objects.

Store window identities in variables, compare them for equality.
Provide examples of performing some of the following:
open, close, minimize, maximize, move, resize, and keep track of running windows,

AutoHotkey

WinGetTitle, currentWindow, A WinMinimize, % currentWindow Msgbox, 4,, would you like to maximize %currentWindow% again? IfMsgBox Yes WinRestore, % currentWindow <lang AutoHotkey>