move shortcuts into JoshsAutoHotKey.ahk; add Win+N Sticky Notes shortcut

This commit is contained in:
Josh Holtrop 2013-07-30 10:54:23 -04:00
parent 8dea3640b1
commit 1b6e527af7
2 changed files with 41 additions and 25 deletions

View File

@ -205,3 +205,44 @@ if (class = "ExploreWClass" or class = "CabinetWClass")
}
Send {WheelUp}
return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Keyboard Shortcuts
; Win+A open command prompt (used to be aterm)
#A::
Run C:\Windows\System32\cmd.exe
return
; Win+C open calculator
#C::
Run "C:\Program Files (x86)\SpeedCrunch\speedcrunch.exe"
return
; Win+G open GVIM
#G::
Run C:\apps\Vim\vim73\gvim.exe
return
; Win+E opens Windows Explorer to my workspace directory
#E::
Run C:\Windows\system32\explorer.exe C:\Workspace\Holtrop
return
; Win+N opens a new sticky note
#N::
WinGet notes_window,ID,ahk_class Sticky_Notes_Note_Window
if notes_window
{
WinActivate,ahk_id %notes_window%
Send {Ctrl down}{n}{Ctrl up}
}
else
{
Run %windir%\sysnative\StikyNot.exe
}
return

View File

@ -1,25 +0,0 @@
; shortcuts.ahk
; Version 1.1
; 2011-05-23
#SingleInstance force
; Win+A open command prompt (used to be aterm)
#A::
Run C:\Windows\System32\cmd.exe
return
; Win+C open calculator
#C::
Run "C:\Program Files (x86)\SpeedCrunch\speedcrunch.exe"
return
; Win+G open GVIM
#G::
Run C:\apps\Vim\vim73\gvim.exe
return
; Win+E opens Windows Explorer to my workspace directory
#E::
Run C:\Windows\system32\explorer.exe C:\Workspace\Holtrop
return