Created
January 19, 2017 21:51
-
-
Save Lokno/6eb9776c47d5cf8d4046ff21d390a4e9 to your computer and use it in GitHub Desktop.
Polls every second and if it finds a window title starting with "Twitter" it closes it
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
Loop { | |
IfWinActive, Twitter | |
{ | |
SendInput ^w | |
} | |
Sleep, 1000 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment