Last active
August 29, 2015 14:27
-
-
Save valacar/a0b9c0582acb4c0d01c5 to your computer and use it in GitHub Desktop.
Terraria Borderless Windowed Fullscreen Mode [AHK]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance Force | |
#Persistent | |
target = ahk_exe terraria.exe | |
WS_CAPTION := 0x00C00000 | |
WS_SIZEBOX := 0x00040000 | |
SetTimer Check, 1000 | |
return | |
Check: | |
IfWinExist %target% | |
{ | |
flags = % (WS_CAPTION | WS_SIZEBOX) | |
WinSet, Style, -%flags% ; remove window sizing borders and titlebar | |
WinMove, , , 0, 0, A_ScreenWidth, A_ScreenHeight | |
WinActivate | |
SetTimer Check, Off | |
ExitApp | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment