This is my first simple script i've made in ahk.
It's set for 1024x768 resolution.
It only work in borderless.
To change to your resolution you simply change these numbers. divide width to your resolution and same with height by 2 and than fine tuning it.
"x" A_ScreenWidth - 514 " y" A_ScreenHeight - 386
Enjoy!
Code:
SetFormat, Integer, Hex
color = 0
Gui, Margin, 0, 0
Gui, +AlwaysOnTop -Caption
Gui, Color, %color%
Gui, Show, % "x" A_ScreenWidth - 514 " y" A_ScreenHeight - 386 " w" 5 " h" 5, The GUI
Process, Exist
WinGet, hw_gui, ID, ahk_class AutoHotkeyGUI ahk_pid %ErrorLevel%
WinSet, Region, E 12-12 w390 h390, ahk_id %hw_gui%
return