Created
March 25, 2017 09:27
-
-
Save wandersick/6396fd782c2cc6f7fbc0e3d9f7f99718 to your computer and use it in GitHub Desktop.
Google Drive - Auto-Answer 'Heads Up' Prompt - AutoHotkey
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
; detect Google Drive prompt "Heads up, some people may lose access" OK (O) / Undo (U) | |
Loop | |
{ | |
WinWait, Google Drive | |
If Not Errorlevel | |
{ | |
If WinExist("ahk_exe googledrivesync.exe") | |
{ | |
WinActivate, Google Drive | |
Send !u | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment