Skip to content

Instantly share code, notes, and snippets.

@andli
Last active January 27, 2022 14:07
Show Gist options
  • Save andli/11ab794254bfe81c8b230eb215c96266 to your computer and use it in GitHub Desktop.
Save andli/11ab794254bfe81c8b230eb215c96266 to your computer and use it in GitHub Desktop.
My AutoHotKey script collection
#Requires AutoHotkey v2-
#SingleInstance force
;#Warn All, Off
; Type some characters that are not easily available on your keyboard.
:?*:,oe::ø
:?*:,OE::Ø
; Mutes an MS Teams meeting by sending ctrl-shift-m to it. Needs to be focused to work.
Scrolllock::
{
SetTitleMatchMode "RegEx"
if WinExist(".*Microsoft.*Teams") {
ControlSend "{Ctrl Down}{Shift Down}m",,".*Microsoft.*Teams"
}
}
; Types kaomoji
SetKeyDelay(, 50, 50) ;delay, pressduration
^F1:: SendEvent "{Raw}(ノ°□°)ノ︵ ┻━┻"
^F2:: SendEvent "{Raw}┬─┬ノ(º_ºノ)"
^F3:: SendEvent "{Raw}¯\_(ツ)_/¯"
^F4:: SendEvent "{Raw}(づ ̄ ³ ̄)づ"
^F5:: SendEvent "{Raw}щ(゚Д゚щ)"
^F6:: SendEvent "{Raw}ಠ_ಠ"
^F7:: SendEvent "{Raw}(。・_・。)"
; Reload the AHK script for easy testing
^F12:: Reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment