Advertisement
Shuddertrix

Fullscreen Borderless Fallout - 1.1

Aug 5th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #SingleInstance Force
  2. #Persistent
  3.  
  4. SetTimer fo3, 500
  5. SetTimer fnv, 500
  6. Return
  7.  
  8. fo3:
  9.   WinGet IDs, List, ahk_class Fallout3
  10.    Loop %IDs%
  11.    {
  12.     Screen_X = %A_ScreenWidth%
  13.     Screen_Y = %A_ScreenHeight%
  14.       ID := IDs%A_Index%
  15.       If ID not in %Old_IDs%
  16.       {
  17.          WinSet, Style, -0xC40000, ahk_id %ID%
  18.          WinMove, ahk_id %ID%, , 0, 0, Screen_X, Screen_Y
  19.       }
  20.       New_IDs .= ID ","
  21.    }
  22.    StringTrimRight Old_IDs, New_IDs, 1
  23.    New_IDs =
  24. Return
  25.  
  26. fnv:
  27.   WinGet IDs, List, ahk_class Fallout: New Vegas
  28.    Loop %IDs%
  29.    {
  30.     Screen_X = %A_ScreenWidth%
  31.     Screen_Y = %A_ScreenHeight%
  32.       ID := IDs%A_Index%
  33.       If ID not in %Old_IDs%
  34.       {
  35.          WinSet, Style, -0xC00000, ahk_id %ID%
  36.          WinMove, ahk_id %ID%, , 0, 0, Screen_X, Screen_Y
  37.       }
  38.       New_IDs .= ID ","
  39.    }
  40.    StringTrimRight Old_IDs, New_IDs, 1
  41.    New_IDs =
  42. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement