This will automatically close the uPlay after game report for Ubisoft games I own. You can add your own games to the list to close uPlay after closing the game.
Created
August 5, 2015 19:18
-
-
Save Darksecond/2a0e8bf83e06c297434b to your computer and use it in GitHub Desktop.
uPlay autokiller
This file contains 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
#NoEnv | |
#SingleInstance force | |
SendMode Input | |
SetWorkingDir %A_ScriptDir% | |
GroupAdd, games, Watch_Dogs | |
GroupAdd, games, ANNO 2070 | |
; Add your uPlay games to the group. | |
Loop | |
{ | |
WinWaitActive, ahk_group games | |
WinWaitClose | |
; Close uPlay | |
WinWaitActive, Uplay ahk_class PlatformViewClassSession0 | |
Sleep, 250 | |
WinClose, Uplay | |
WinKill, Uplay | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment