3 ms·
A thousand times, this. I love AHK. It, along with Ditto Clipboard Manager (Yes, I know W10 has its own. It sucks) changes my workflow so much for the better. S
by geocrasher 6y ago
A thousand times, this. I love AHK. It, along with Ditto Clipboard Manager (Yes, I know W10 has its own. It sucks) changes my workflow so much for the better. Some of my favorite examples:
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-assist-the-elderly-disabled-and-more/ https://www.tidbitsfortechs.com/2013/10/using-autohotkey-to-...
- function_seven 6y agoI'm a bit masochistic when it comes to typos. This is from my AHK script: :*: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.
- Noumenon72 6y agoYou should add a popup that requires you to type in "network" correctly and then issues a Ctrl+Z.
- TeMPOraL 6y ago> add a system-modal popup that requires you to type in "network" correctly 50 times in a row and then issues a Ctrl+Z; if you make a mistake, you start over. There, fixed :).
- function_seven 6y agoWorking on it. And to make sure I don’t cheat, it’ll put me into a kiosk mode and temporarily change my password to prevent me from escaping my punishment. It’ll be like my very own ransomware!
- TeMPOraL 6y agoBe sure the script also temporarily clears your keyboard; can't have you cheating your way out by having "network" ready to paste at any moment!