Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lancehilliard/2648632 to your computer and use it in GitHub Desktop.
Save lancehilliard/2648632 to your computer and use it in GitHub Desktop.
AHK script to SaveAll in Visual Studio while Screen Sharing using Lync 2010
; Control key ^
; Alt key !
; Shift key +
; Windows key #
; this must remain at top of file
SetTitleMatchMode 2
;Allows for the script to be reloaded everytime it's saved
SetTimer,UPDATEDSCRIPT,1000
UPDATEDSCRIPT:
FileGetAttrib,attribs,%A_ScriptFullPath%
IfInString,attribs,A
{
FileSetAttrib,-A,%A_ScriptFullPath%
Sleep,500
Reload
}
Return
#IfWinActive , Microsoft Visual Studio
$^+s:: send, !fl ;Ctrl-Shift-S => Alt+F, L: Visual Studio's "Save All"
return
#IfWinActive
$^+s:: ;Ctrl-Shift-S => nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment