Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance Force
- #Persistent
- SetTimer DarkSouls2, 500
- Return
- DarkSouls2:
- WinGet IDs, List, ahk_class DarkSouls2
- 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, ahk_id %WindowID%
- WinMove, ahk_id %WindowID%, , -2, -2, 1364, 772
- WinActivate, A
- }
- New_IDs .= ID ","
- }
- StringTrimRight Old_IDs, New_IDs, 1
- New_IDs =
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement