Forged Alliance Forever Forums
Moderators: FtXCommando, Ze Dogfather
SysGet, Monitor2, Monitor, 2
Xbutton1 & ScrollLock::
Toggle := !Toggle
If (Toggle) {
WinGet, S, Style, Forged Alliance
If (Style != -0xC40000)
WinSet, Style, -0xC40000, Forged Alliance
If (Monitor2Left = -A_ScreenWidth)
WinMove, Forged Alliance, , -A_ScreenWidth, 0, A_ScreenWidth, A_ScreenHeight
If (Monitor2Right = 2*A_ScreenWidth)
WinMove, Forged Alliance, , 0, 0, 2*A_ScreenWidth, A_ScreenHeight
} Else {
WinGet, S, Style, Forged Alliance
If (Style != -0xC40000)
WinSet, Style, -0xC40000, Forged Alliance
WinMove, Forged Alliance, , 0, 0, A_ScreenWidth, A_ScreenHeight
}
WinMaximize, Forged Alliance
WinRestore, Forged Alliance
WinActivate, Forged Alliance
Return
Users browsing this forum: No registered users and 1 guest