Skip to content

Instantly share code, notes, and snippets.

@wandersick
Created March 25, 2017 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wandersick/6396fd782c2cc6f7fbc0e3d9f7f99718 to your computer and use it in GitHub Desktop.
Save wandersick/6396fd782c2cc6f7fbc0e3d9f7f99718 to your computer and use it in GitHub Desktop.
Google Drive - Auto-Answer 'Heads Up' Prompt - AutoHotkey
; 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