Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance Force
- #Persistent
- SetTimer fo3, 500
- SetTimer fnv, 500
- Return
- fo3:
- WinGet IDs, List, ahk_class Fallout3
- Loop %IDs%
- {
- Screen_X = %A_ScreenWidth%
- Screen_Y = %A_ScreenHeight%
- ID := IDs%A_Index%
- If ID not in %Old_IDs%
- {
- WinSet, Style, -0xC40000, ahk_id %ID%
- WinMove, ahk_id %ID%, , 0, 0, Screen_X, Screen_Y
- }
- New_IDs .= ID ","
- }
- StringTrimRight Old_IDs, New_IDs, 1
- New_IDs =
- Return
- fnv:
- WinGet IDs, List, ahk_class Fallout: New Vegas
- Loop %IDs%
- {
- Screen_X = %A_ScreenWidth%
- Screen_Y = %A_ScreenHeight%
- ID := IDs%A_Index%
- If ID not in %Old_IDs%
- {
- WinSet, Style, -0xC00000, ahk_id %ID%
- WinMove, ahk_id %ID%, , 0, 0, Screen_X, Screen_Y
- }
- New_IDs .= ID ","
- }
- StringTrimRight Old_IDs, New_IDs, 1
- New_IDs =
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement