Last active
August 3, 2020 21:23
-
-
Save airstrike/7402dc638ffc4db3ae54e2a533285bb9 to your computer and use it in GitHub Desktop.
Various AHK keyboard shortcuts
This file contains hidden or 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
#SingleInstance | |
#Persistent | |
RAlt & z:: | |
reload | |
return | |
DetectHiddenWindows, On | |
F1::return ;F1 does nothing | |
;Highlight text in Acrobat with =. Use shift+= for highlighting + bookmarking. | |
~=:: | |
if WinActive("ahk_class AcrobatSDIWindow") { | |
SetKeyDelay, 15 | |
Send, +{F10} | |
Send, {h} | |
Send, {ESC} | |
return | |
} else { | |
return | |
} | |
return | |
~+=:: | |
if WinActive("ahk_class AcrobatSDIWindow") { | |
SetKeyDelay, 15 | |
Send, ^{b} | |
Send, {F4} | |
Send, +{F10} | |
Send, {h} | |
Send, {ESC} | |
Send, {F4} | |
Send, {F2} | |
return | |
} else { | |
return | |
} | |
return | |
; Ctrl+1 opens Properties for selections in PowerPoint | |
~^1:: | |
if WinActive("ahk_class PPTFrameClass") { | |
Send +{F10} | |
Send z | |
Send {Tab} | |
Send {Home} | |
} else { | |
return | |
} | |
return | |
; Click the mouse with Windows+C | |
#c::Click | |
>!4::Send, {£} | |
>!5::Send, {€} | |
>!Space::Send, {Asc 0160} | |
#Space::Send, {U+200B} ;Zero width character | |
>!\::SendInput, {¬} | |
+!.::SendInput, {•} | |
+^!.::SendInput, {○} | |
>+>!1::Send, {¹} | |
>+>!2::Send, {²} | |
>+>!3::Send, {³} | |
>+>!4::Send, {⁴} | |
>+>!5::Send, {⁵} | |
>+>!6::Send, {⁶} | |
>+>!7::Send, {⁷} | |
>+>!8::Send, {⁸} | |
>+>!9::Send, {⁹} | |
>+>!0::Send, {⁰} | |
>+>!a::Send, {ᵃ} | |
>+>!b::Send, {ᵇ} | |
>+>!c::Send, {ᶜ} | |
>+>!d::Send, {ᵈ} | |
>+>!e::Send, {ᵉ} | |
>+>!f::Send, {ᶠ} | |
>+>!g::Send, {ᵍ} | |
>+>!h::Send, {ʰ} | |
>+>!i::Send, {ⁱ} | |
>+>!j::Send, {ʲ} | |
>+>!k::Send, {ᵏ} | |
>+>!l::Send, {ˡ} | |
>+>!m::Send, {ᵐ} | |
>+>!n::Send, {ⁿ} | |
>+>!o::Send, {ᵒ} | |
>+>!p::Send, {ᵖ} | |
>+>!r::Send, {ʳ} | |
>+>!s::Send, {ˢ} | |
>+>!t::Send, {ᵗ} | |
>+>!u::Send, {ᵘ} | |
>+>!v::Send, {ᵛ} | |
>+>!w::Send, {ʷ} | |
>+>!x::Send, {ˣ} | |
>+>!y::Send, {ʸ} | |
>+>!z::Send, {ᶻ} | |
>+>!-::Send, {–} | |
; Type Windows+A in Outlook to change the color of your text when replying to e-mails. | |
; Useful for providing inline replies in green / red (e.g. when replying to a list of questions) | |
#a:: | |
if WinActive("ahk_class CabinetWClass") { | |
Send ^e{tab}{enter}ln | |
} else if WinActive("ahk_class rctrl_renwnd32") { | |
Send !ftfm!f{enter}!o!c | |
} | |
return | |
#PrintScreen::Run, % "Rundll32 sysdm.cpl,EditEnvironmentVariables" | |
#ScrollLock::Run, % "Rundll32 sysdm.cpl,EditEnvironmentVariables" | |
#IfWinActive ahk_class rctrl_renwnd32 | |
^m::Send ^+q ;Ctrl+M creates a new meeting invite in Outlook | |
F4::SendInput ^y ;F4 mapped to 'Redo' in Outlook | |
;type __dialin to enter your dialin info | |
:*:__dialin:: | |
SendInput {+}1-555-555-5555{,}{,}5555555555{#}{Enter} | |
SendInput {Enter} | |
SendInput Dial-in (US Toll Free): 1-555-555-5555{Enter} | |
SendInput Passcode: 555-555-555{#}{Enter} | |
SendInput Autodial: {+}1-555-555-5555{,}{,}5555555555{#}{Enter} | |
SendInput {Enter} | |
SendInput Line opens automatically | |
Return | |
#IfWinActive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment