Skip to content

Instantly share code, notes, and snippets.

@mattcuk
Created March 8, 2022 11:23
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 mattcuk/cd9e00b56ede16fcf65ff4c2ec573ed9 to your computer and use it in GitHub Desktop.
Save mattcuk/cd9e00b56ede16fcf65ff4c2ec573ed9 to your computer and use it in GitHub Desktop.
AutoHotKey script that brings the 'Do you want to stash pop now' dialog to the front (it will often get hidden behind other windows)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Loop
{
if WinExist("TortoiseGit", "Do you want to stash pop now") {
WinActivate
}
Sleep, 5000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment