Merge pull request #490 from RedBearAK/patch-21

Open Firefox private window with Ctrl+Shift+N
This commit is contained in:
Ben Reaves
2021-09-07 23:19:45 -05:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -437,6 +437,7 @@ define_keymap(re.compile("Firefox", re.IGNORECASE),{
K("Shift-SEMICOLON"),K("p"),K("r"),K("e"),K("f"),
K("e"),K("r"),K("e"),K("n"),K("c"),K("e"),K("s"),K("Enter")
],
K("RC-Shift-N"): K("RC-Shift-P"), # Open private window with Ctrl+Shift+N like other browsers
})
define_keymap(re.compile(chromeStr, re.IGNORECASE),{
K("C-comma"): [K("M-e"), K("s"),K("Enter")],

View File

@@ -552,6 +552,7 @@ GroupAdd, intellij, ahk_exe idea64.exe
; Open preferences
#IfWinActive ahk_exe firefox.exe
^,::send, {Ctrl Down}t{Ctrl Up}about:preferences{Enter}
^+n::send ^+p
#If
#IfWinActive ahk_exe chrome.exe
^,::send {Alt Down}e{Alt Up}s{Enter}