Skip to content

Instantly share code, notes, and snippets.

@MattBroyles
Last active February 3, 2016 20:28
Show Gist options
  • Save MattBroyles/4d57b908b2b6c6b88741 to your computer and use it in GitHub Desktop.
Save MattBroyles/4d57b908b2b6c6b88741 to your computer and use it in GitHub Desktop.
This is a simple AutoHotKey script that will auto-save your Visual Studio Solution every time you hit the semicolon key.
#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.
#SingleInstance Force
; Target only Visual Studio
SetTitleMatchMode, 2
#IfWinActive Microsoft Visual Studio
; Send control + shift + s when enter key is pressed (save all)
~sc027::
Send ^+s
#IfWinActive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment