Skip to content

Instantly share code, notes, and snippets.

@jaywick
Created June 9, 2017 13:13
Show Gist options
  • Save jaywick/bd25e52f50b2e13545d215515771cc93 to your computer and use it in GitHub Desktop.
Save jaywick/bd25e52f50b2e13545d215515771cc93 to your computer and use it in GitHub Desktop.
Autohotkey master script
^esc::Run *runas cmd ; runs admin cmd
!esc::Run cmd
^!esc::Run bash.exe
#j::Run c:\users\jay\downloads
#w::Run c:\users\jay\workspace
#n::Run "C:\Program Files (x86)\Microsoft VS Code\Code.exe"
#g::Run chrome.exe http://www.google.com/search?q=%clipboard%
#f2::Run "C:\Program Files (x86)\Microsoft VS Code\Code.exe" C:\users\jay\workspace\scripts\master.ahk
#f5::Run C:\users\jay\workspace\scripts\master.ahk
; onenote junkie habits
#s::
SendInput {PrintScreen}
return
; shortcuts in explorer
#IfWinActive ahk_exe explorer.exe
; new file
^n::
SendInput {AppsKey}wt
SendInput ^a
return
; open current directory in CMD
^+c::
SendInput !4
return
; toggle hidden files
^h::
SendInput !vhs
return
#IfWinActive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment