Created
July 23, 2013 23:18
-
-
Save mflanneryii/6066990 to your computer and use it in GitHub Desktop.
AutoHotkey Borderless Windowed FullScreen
This file contains hidden or 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 | |
Maximize(IDs){ | |
Loop %IDs% | |
{ | |
Screen_X = %A_ScreenWidth% | |
Screen_Y = %A_ScreenHeight% | |
ID := IDs%A_Index% | |
If ID not in %Old_IDs% | |
{ | |
WinActivate ahk_id %ID% | |
WinSet, Style, -0xC40000, A | |
WinMove, A, , 0, 0, Screen_X, Screen_Y | |
WinActivate, A | |
} | |
New_IDs .= ID "," | |
} | |
StringTrimRight Old_IDs, New_IDs, 1 | |
New_IDs = | |
} | |
^!n:: | |
;Skyrim | |
WinGet IDs, List, ahk_class Skyrim | |
Maximize(IDs) | |
;Jagged Alliance: BIA | |
WinGet IDs, List, ahk_class JDClass | |
Maximize(IDs) | |
;Diablo 3 | |
WinGet IDs, List, ahk_class D3 Main Window Class | |
Maximize(IDs) | |
;Arcania | |
WinGet IDs, List, ahk_class VVideoClass | |
Maximize(IDs) | |
;Tropico 4 | |
WinGet IDs, List, ahk_class Tropico 4 | |
Maximize(IDs) | |
;Torchlight 2 | |
WinGet IDs, List, ahk_class OgreD3D9Wnd | |
Maximize(IDs) | |
;Van Helsing | |
WinGet IDs, List, ahk_class CORETECH2 | |
Maximize(IDs) | |
;Saints Row The Third | |
WinGet IDs, List, ahk_class SR3 | |
Maximize(IDs) | |
;XCom:Enemy Unknown | |
WinGet IDs, List, ahk_class LaunchUnrealUWindowsClient | |
Maximize(IDs) | |
;ShootManyRobots | |
WinGet IDs, List, ahk_class LaunchUnrealUWindowsClient | |
Maximize(IDs) | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm new to this. Please tell me what key can toggle it for torchlight 2