Declined Windows functions and command: Add syntax to specify HWND directly

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,223
78
Albuquerque, NM
prospero.unm.edu
ACTIVATE, POSTMSG, @WINCLIENTSIZE, @WINSIZE, @WINPOS, @WINSTATE, @WINEXENAME, maybe @CONSOLE.... there are a bunch of commands and functions that accept either a window title with wildcards, or a process ID prefixed with an equals sign. It could be useful to have a syntax to specify a window handle directly, in either decimal or hex. Maybe something like:
Code:
activate "hwnd==0x10208" restore