Skip to content

Instantly share code, notes, and snippets.

@Zebiano
Last active April 14, 2023 08:21
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zebiano/6798e00ab188c7b23413c92fbeb49c53 to your computer and use it in GitHub Desktop.
Save Zebiano/6798e00ab188c7b23413c92fbeb49c53 to your computer and use it in GitHub Desktop.
Maximize Window through monitors with Auto Hot Key on Windows.
; Credit goes to Jeff Axelrod (https://stackoverflow.com/users/403455/jeff-axelrod) https://stackoverflow.com/a/9830200/470749
+#Up::
WinGetActiveTitle, Title
WinRestore, %Title%
SysGet, X1, 76
SysGet, Y1, 77
SysGet, Width, 78
SysGet, Height, 79
WinMove, %Title%, , X1, Y1, Width, Height
return
@liutiming
Copy link

Great thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment