Created
April 21, 2016 19:48
-
-
Save belminf/ce3080b5a565a26e403dd84c7b339a02 to your computer and use it in GitHub Desktop.
AutoHotkey script to detect current window
This file contains hidden or 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
LastTitle := "" | |
while true { | |
WinGetActiveTitle, Title | |
if (LastTitle != Title) | |
{ | |
LastTitle := Title | |
FileAppend, %LastTitle%`n, %A_Desktop%\active_windows.txt | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment