Skip to content

Instantly share code, notes, and snippets.

@dieseltravis
Last active January 3, 2023 15:58
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save dieseltravis/674228f24a856527d6eb to your computer and use it in GitHub Desktop.
Save dieseltravis/674228f24a856527d6eb to your computer and use it in GitHub Desktop.
autohotkey script to replace 🤷 with ¯\_(ツ)_/¯ (and a few other common unicode art emoji)
; :shrug: ¯\_(ツ)_/¯
:B0:`:shrug::
if (A_EndChar == ":") {
SendInput, {BS 7}¯\_(ツ)_/¯
}
return
; :whatever: ◔_◔
:B0:`:whatever::
if (A_EndChar == ":") {
SendInput, {BS 10}◔_◔
}
return
; :whyy: щ(ºДºщ)
:B0:`:whyy::
if (A_EndChar == ":") {
SendInput, {BS 6}щ(ºДºщ)
}
return
; :happy: (゚ヮ゚)
:B0:`:happy::
if (A_EndChar == ":") {
SendInput, {BS 7}(゚ヮ゚)
}
return
; :flip: (╯°□°)╯︵ ┻━┻
:B0:`:flip::
if (A_EndChar == ":") {
SendInput, {BS 6}(╯°□°)╯︵ ┻━┻
}
return
@dieseltravis
Copy link
Author

sorry folks, I'm just seeing all these comments today (thanks github!) - but does everyone have their scripts working OK?
I use notepad2 and set it to default to UTF-8 by default.
@afanucchi that is much simpler, I like it!

@akaleeroy
Copy link

; textfaces-hotstrings.ahk UTF-8 with BOM
SendInput, (╯°□°)╯︵ ┻━┻ ; accidental derp factor increase (╯□°°)╯︵ ┻━┻)
SendInput, {Text}(╯°□°)╯︵ ┻━┻ ; output fixed (╯°□°)╯︵ ┻━┻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment