diff --git a/JoshsAutoHotKey.ahk b/JoshsAutoHotKey.ahk index 09ae797..7737df5 100644 --- a/JoshsAutoHotKey.ahk +++ b/JoshsAutoHotKey.ahk @@ -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 diff --git a/shortcuts.ahk b/shortcuts.ahk deleted file mode 100755 index a76db70..0000000 --- a/shortcuts.ahk +++ /dev/null @@ -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