Created
March 22, 2018 17:31
-
-
Save Shoeboxam/2184c9d5b54de9931bad0bbe69aa0ec2 to your computer and use it in GitHub Desktop.
My hodge-podge of Autohotkey shortkeys and hotkeys
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
; Binds the Numlock key to a calculator. | |
; Double tap to launch or close. | |
; Single tap to focus or minimize. | |
#NoEnv | |
SendMode Input | |
SetWorkingDir %A_ScriptDir% | |
:*:]d:: ; This hotstring replaces "]d" with the current date and time via the commands below. | |
FormatTime, CurrentDateTime,, M/d/yyyy h:mm tt ; It will look like 9/1/2005 3:53 PM | |
SendInput %CurrentDateTime% | |
return | |
:*:mike@::[email protected] | |
:*:shoematem@::[email protected] | |
:*?:|ae::æ | |
:*?:,c::ç | |
:*?:~n::ñ | |
:*?:|'a::á | |
:*?:``a::à | |
; :*?:^a::â | |
:*?:;a::ä | |
:*?:~a::ã | |
:*?:|'e::é | |
:*?:``e::è | |
; :*?:^e::ê | |
:*?:;e::ë | |
:*?:|'i::í | |
:*?:``i::ì | |
; :*?:^i::î | |
; :*?:;i::ï | |
:*?:|'o::ó | |
:*?:``o::ò | |
; :*?:^o::ô | |
:*?:;o::ö | |
:*?:~o::õ | |
:*?:|'u::ú | |
:*?:``u::ù | |
; :*?:^u::û | |
:*?:;u::ü | |
:*?:|'y::ý | |
:*?:;y::ÿ | |
:*?:^?::¿ | |
:*?:^!::¡ | |
; GREEK | |
::|a::α | |
:?:|b::β | |
:?:|d::δ | |
:?:|e::ε | |
:?:|f::φ | |
:?:|g::γ | |
:?:|h::η | |
:?:|i::ι | |
:?:|j::θ | |
:?:|k::κ | |
:?:|l::λ | |
:?:|m::μ | |
:?:|n::ν | |
:?:|o::ο | |
:?:|p::π | |
:?:|q::ξ | |
:?:|r::ρ | |
:?:|s::σ | |
:?:|t::τ | |
:?:|v::ς | |
:?:|w::ω | |
:?:|x::χ | |
:?:|y::ψ | |
:?:|z::ζ | |
:*?:|chi::χ | |
:*?:|eta::η | |
:*?:|gamma::γ | |
:*?:|iota::ι | |
:*?:|kappa::κ | |
:*?:|lambda::λ | |
:*?:|mu::μ | |
:*?:|nu::ν | |
:*?:|omicron::ο | |
:*?:|omega::ω | |
:*?:|pi::π | |
:*?:|psi::ψ | |
:*?:|phi::φ | |
:*?:|rho::ρ | |
:*?:|sigma::σ | |
:*?:|tau::τ | |
:*?:|theta::θ | |
:*?:|ups::υ | |
:*?:|xi::ξ | |
:*?:|zeta::ζ | |
; SYMBOLS | |
:?:|nat::ℕ | |
:?:|int::ℤ | |
:?:|quot::ℚ | |
:?:|real::ℝ | |
:?:|comp::ℂ | |
:?:|in::∈ | |
:?:|st::∋ | |
:?:|nin::∉ | |
:?:|nst::∌ | |
:*?:|empty::∅ | |
:*?:|inf::∞ | |
:*?:|psubset::⊃ | |
:*?:|psuperset::⊂ | |
:*?:|subset::⊇ | |
:*?:|superset::⊆ | |
:*?:|npsubset::⊈ | |
:*?:|npsuperset::⊉ | |
:*?:|union::∪ | |
:*?:|intersect::∩ | |
:*?:|lte::≤ | |
:*?:|gte::≥ | |
:*?:|nequal::≠ | |
:*?:|approx::≈ | |
:*?:|all::∀ | |
:*?:|exists::∃ | |
:*?:|dne::∄ | |
:*?:|therefore::∴ | |
:*?:|because::∵ | |
:*?:|implies::→ | |
:*?:|equivalent::↔ | |
:*?:|and::∧ | |
:*?:|or::∨ | |
:*?:|not::¬ | |
:*?:|grad::∇ | |
:*?:|dee::∂ | |
:*?:|diff::∆ | |
:*?:|integ::∫ | |
:*?:|sum::∑ | |
:*?:|prod::∏ | |
:*?:|pm::± | |
:*?:|mp::∓ | |
:*?:|indep::⊥ | |
:*?:|bullet::• | |
:*?:|dagger::† | |
:*?:|ddagger::‡ | |
:*?:|dot::⋅ | |
:*?:|rarrow::→ | |
:*?:|arrow::→ | |
:*?:|larrow::← | |
:*?:|barrow::↔ | |
^+0::⁰ | |
^+1::¹ | |
^+2::² | |
^+3::³ | |
^+4::⁴ | |
^+5::⁵ | |
^+6::⁶ | |
^+7::⁷ | |
^+8::⁸ | |
^+9::⁹ | |
^+-::⁻ | |
^++::⁺ | |
^0::₀ | |
^1::₁ | |
^2::₂ | |
^3::₃ | |
^4::₄ | |
^5::₅ | |
^6::₆ | |
^7::₇ | |
^8::₈ | |
^9::₉ | |
^+v:: ; Plain text paste from ClipBoard | |
{ | |
Clip0 = %ClipBoardAll% | |
ClipBoard = %ClipBoard% ; Convert to text | |
Send ^v ; For best compatibility: SendPlay | |
Sleep 50 ; Don't change clipboard while it is pasted! (Sleep > 0) | |
ClipBoard = %Clip0% ; Restore original ClipBoard | |
VarSetCapacity(Clip0, 0) ; Free memory | |
Return | |
} | |
^+":: ; puts quotes around a highlighted word | |
{ | |
Send, ^c | |
Send, " | |
Sleep 50 | |
if (SubStr(Clipboard, 0) = " ") ; checks to see if trailing space has been copied (common in MS office) | |
{ | |
ClipBoard = %ClipBoard% | |
Send, ^v | |
Sleep 50 | |
Send, "{Space} ; restores the space after the quote | |
} | |
else ; just inserts quotes around word as is | |
{ | |
Send, ^v | |
Sleep 50 | |
Send, " | |
} | |
Return | |
} | |
SetNumLockState AlwaysOn | |
NumLock::NumHandler(250) | |
NumHandler(Time) | |
{ | |
; DOUBLE TAP | |
If (A_ThisHotkey==A_PriorHotkey && A_TimeSincePriorHotkey < Time) { | |
IfWinNotExist, SpeedCrunch | |
Run, "C:\Program Files (x86)\SpeedCrunch\SpeedCrunch.exe", max | |
Else | |
WinActivate | |
} | |
; SINGLE TAP | |
else { | |
IfWinExist, SpeedCrunch | |
WinMinimize | |
} | |
return | |
} | |
<!F4:: | |
sleep 30 | |
send {F4} | |
return | |
F4::!F4 | |
#c::StreamHandler() | |
StreamHandler() | |
{ | |
IfWinNotExist, Twitch - Mozilla Firefox | |
Run, "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -new-window https://www.twitch.tv/shoeboxam/chat?popout= | |
IfWinNotExist, Profile: devstream | |
Run, "C:\Program Files\OBS\OBS.exe" | |
Run, "C:\Users\mike_000\Documents\stream_motto.txt" | |
Send, #^c | |
return | |
} | |
^SPACE:: Winset, Alwaysontop, , A | |
SetCapsLockState, AlwaysOff | |
CapsLock & i::Send {Blind}{Up} | |
CapsLock & k::Send {Blind}{Down} | |
CapsLock & j::Send {Blind}{Left} | |
CapsLock & l::Send {Blind}{Right} | |
CapsLock & h::Send {Blind}{Home} | |
CapsLock & n::Send {Blind}{End} | |
CapsLock & m::Send {Del} | |
CapsLock::Return | |
RAlt::ToggleCap() | |
ToggleCap(){ | |
state := GetKeyState("Capslock", "T") | |
if state | |
SetCapsLockState, AlwaysOff | |
else | |
SetCapsLockState, AlwaysOn | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment