Automatically enlarge the currently active screen

Is it possible to run an AutoIt script that simply enlarges the currently active window?

The window will already be open, so there is no need to use the function Run(), you just need to determine the current selected screen and maximize it.

+3
source share
2 answers

WinSetState("[ACTIVE]", "", @SW_MAXIMIZE) maximizes the current active window.

+6
source

This maximizes the window you select based on its name (window name in the title bar).

WinSetState("WindowTitleGoesHere", "", @SW_MAXIMIZE)
+1
source

All Articles