by geocrasher · 6y ago · 0 comments
Right Alt becomes Ctrl Tab: Ralt::^Tab
Common typos: ::teh::the ::alreadsy::already
::nopity::Call to undefined function pity()
::awk1::awk '{{} print $1 {}}'
::du-m::du -m --max-depth=1 | sort -n
But it goes waaay behond this. I once used AHK to assist my grandfather, who in his old age had caused him to lose dexterity. He was clicking both right and left mouse buttons at the same time. I used AHK to disable the might mouse button and then mapped right click to Number Pad +. Worked beautifully.
I actually wrote a Big Long Article about it once: https://www.tidbitsfortechs.com/2013/10/using-autohotkey-to-...
:*:netowrk::
Send, {Home}+{End}{Delete}
return
What it does: I have a really bad habit of misspelling "network" that way. I think my right hand is just so eager to get that 'o' keyed in that it doesn't wait for my left hand to hit the 'w' first. So I'm always screwing that word up when typing quickly.So now, when I make that mistake, I'm punished by having the entire line of text deleted. '{Home}' moves the cursor to the start of the line, '+{End}' is the [Shift]+[End] key to highlight the whole thing, then {Delete} metes out the justice I deserve.
There, fixed :).
It’ll be like my very own ransomware!