GroupAdd, StandardGameList, Caesar III ahk_class WinSJBClass ahk_exe c3.exe, GroupAdd, StandardGameList, Armored Warfare v ahk_class CryENGINE ahk_exe armoredwarfare.exe, Add a GroupAdd line for each game you want to detect and make borderless WinWaitClose, ahk_group MakeBorderlessList MakeBorderlessIfWindowInPassedGroup(sGroupToCheck) SGroupToCheck := 'MaximiseAndCheckIfWindowDisplayingSomethingFirst ' SGroupToCheck := 'HideWindowBordersOffscreen ' SGroupToCheck := 'CheckIfWindowDisplayingSomethingFirst ' If ( MakeBorderlessIfWindowInPassedGroup(sGroupToCheck) != True ) WinWaitActive, ahk_group MakeBorderlessList, Learn more about bidirectional Unicode characters To review, open the file in an editor that reveals hidden Unicode characters. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below.