
Maximize, minimize as shell commands
It is possible to use the Sendkeys method of WSH 2.0 (see Michael Harris
anwer).
A WSHSendkeys method for WSH 1.0 is available for free from the WSH Bazaar.
The WSHExtend Control provides also some methods to get the Window handle
and
set the window state using API functions. Have a look into the WSH Bazaar
for examples
and further details at:
httP://ourworld.compuserve.com/homepages/Guenter_Born/index0.htm
G. Born
Quote:
>Is it possible to manipulate the shell using VB Script so that ANY window
>that has the focus can be maximized and minimized from the keyboard ? I
know
>the function exists as a mouse click event if you right click the window's
>icon in the top left hand corner.
>How can you convert these functions to a keyboard stroke using VBScript ?
>ColinR