Created
June 27, 2017 01:03
-
-
Save mythz/43740d83ec6757485f4c8e51b55d98e0 to your computer and use it in GitHub Desktop.
Reprogram function keys to launch Apps or open URLs using AutoHotKey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;----------------------------------------- | |
; keyboard shortcuts using https://autohotkey.com/docs/AutoHotkey.htm | |
;========================================= | |
; -------------------------------------------------------------- | |
; NOTES | |
; -------------------------------------------------------------- | |
; ! = ALT | |
; ^ = CTRL | |
; + = SHIFT | |
; # = WIN | |
; | |
; Debug action snippet: MsgBox You pressed Control-A while Notepad is active. | |
#InstallKeybdHook | |
#SingleInstance force | |
SetTitleMatchMode 2 | |
SendMode Input | |
; -------------------------------------------------------------- | |
; F13, F17-19 custom app launchers, see http://www.autohotkey.com/docs/Tutorial.htm for usage info | |
; -------------------------------------------------------------- | |
F13::Run %windir%\system32\SnippingTool.exe | |
F17::Run https://gmail.com | |
F18::Run https://news.ycombinator.com | |
F19::Run https://stackoverflow.com/search?tab=newest&q=servicestack | |
; -------------------------------------------------------------- | |
; Application specific | |
; -------------------------------------------------------------- | |
; Google Chrome | |
;#IfWinActive, ahk_class Chrome_WidgetWin_1 | |
; Show Web Developer Tools with cmd + alt + i | |
;#!i::Send {F12} | |
;#IfWinActive | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment