Install AutoHotkey: Download and install v2.0 from
https://www.autohotkey.com/
Create the Script:
Right-click your desktop New AutoHotkey Script.
Right-click the file and select Edit Script.
Paste the Code: Copy and paste the script provided below and save it.
Enjoy: Go to your game and press Alt + F to toggle the borders on/off.
Scripts
---------------------------------------------------------
; Force Run as Administrator
if !A_IsAdmin
{
Run("*RunAs " . A_ScriptFullPath)
ExitApp()
}
; Hotkey: Alt + F
!f::
{
static isToggled := false
activeWin := WinExist("A")
if (activeWin)
{
if (!isToggled)
{
; Remove WS_CAPTION and WS_THICKFRAME
WinSetStyle("-0xC40000", activeWin)
isToggled := true
}
else
{
; Restore Borders
WinSetStyle("+0xC40000", activeWin)
isToggled := false
}
WinRedraw(activeWin)
}
}
---------------------------------------------------------