Advertisement
twiz

Fullscreen Windowed

Apr 26th, 2018
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. F1::
  2.     WinID := WinExist("A")
  3.     If !%WinID% {
  4.         WinRestore, AHK_ID %WinID%
  5.         WinSet, Style, -0xCF0000, AHK_ID %WinID%
  6.         WinMaximize, AHK_ID %WinID%
  7.         %WinID% := 1
  8.     } Else {
  9.         WinSet, Style, +0xCF0000, AHK_ID %WinID%
  10.         %WinID% := 0
  11.     }
  12. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement