Skip to content

Instantly share code, notes, and snippets.

@wincmd64
Last active March 11, 2025 11:47
Show Gist options
  • Save wincmd64/c58e3001bc3671f7631b17f8b63fc76a to your computer and use it in GitHub Desktop.
Save wincmd64/c58e3001bc3671f7631b17f8b63fc76a to your computer and use it in GitHub Desktop.
; 1) download and extract https://www.autohotkey.com/download/ahk-v2.zip
; 2) place this file near .exe and name the same e.g. AutoHotkey64.ahk
; 3) run .exe
; Hotstrings:
:o:@.::[email protected]
::pa.::ping -a
:o:pg.::ping google.com -t
:o:p8.::ping 8.8.8.8 -t
; Ctrl + Shift + V -- paste plain text
^+v::
{
A_Clipboard := A_Clipboard
send "^v"
}
; AltGr -- change lang to UA
; Left Ctrl -- change lang to EN
; Right Ctrl -- change lang to RU
~RAlt::
RAlt & RCtrl::{ ; AltGr
PostMessage 0x50, 0, 0x04220422, , 0xffff ; use -0xF57FBDE for "UA ext"
ToolTip "Ukrainian"
SetTimer () => ToolTip(), -1000
}
~LControl::PostMessage 0x50, 0, 0x4090409, , 0xffff ; EN
~RControl::PostMessage 0x50, 0, 0x4190419, , 0xffff ; RU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment