/* C:\Users\[UserName]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ScreenCapture.ahk ^ : Ctrl ! : Alt + : Shift # : Win The hotkey is Ctrl+Alt+A */ SetTitleMatchMode(2) +#A::Run "C:\DRIVERS\tools\ScreenCapture.exe" ^!O::Run "C:\Users\Linwei\AppData\Local\Obsidian\Obsidian.exe --proxy-server=socks5://127.0.0.1:1080" ^!P::Run "D:\dev\vim\nvim0104\bin\nvim-qt.exe -- -u c:\users\linwei\.config\nvim\neovim.vim" /* WinLaunch */ /* #Space::Run "D:\Program Files\WinLaunch\WinLaunch.exe" */ #HotIf WinActive("ahk_class MozillaWindowClass") and WinActive("ahk_exe firefox.exe") ^+w::^w #HotIf #HotIf WinActive("ahk_class Chrome_WidgetWin_1") and WinActive("ahk_exe chrome.exe") ^+w::^w #HotIf $CapsLock::Ctrl /* foobar 2000 */ ^Volume_Mute::^!F9 ^Volume_Down::^!F10 ^Volume_Up::^!F11 ^sc121::^!F12 /* remap shift+space to space */ +Space::Space #w::Run "D:\Program Files\Q-Dir\Q-Dir.exe" /* use the following script to detect keys #Requires AutoHotkey v2.0 InstallKeybdHook() KeyHistory */