Live data from Hacker News

AutoHotKey V2 (Breaking Upgrade)

autohotkey.com

61–70 of 124 posts

Re: AutoHotKey V2 (Breaking Upgrade)

#61
post #5
post #4

As someone who recently dove back into AHK, I must say v2 has been fantastic! So many great quality of life improvements and overall the documentation is top notch. I cobbled together a launcher app and modal-hotkey system from scratch in a couple of afternoons of enjoyable work. If you're looking to try stuff out, having an autoreload function is a very nice addition to your script while developing. A very pragmatic…

Is the modal hotkey system public code?

[deleted]

Re: AutoHotKey V2 (Breaking Upgrade)

#63
post #32

Earlier quoted context omitted.

I was a Windows guy: And when I moved to Linux I made some notes that I might have problems because of: AutoCAD - true Photoshop - true SketchUp - true AHK - not so much. Autokey does what I need. But I still have great time for AHK - which is why I looked at this thread. Yeah, there's GIMP and Blender and SU online but these applications were really ace on Windows. I found a way to live without them all.

> I found a way to live without them all. I'm not willing to sacrifice my productivity for some ideological purity. It would take weeks to create a fraction of what AHK already does for me with scripts I have improved every year. I tried to explain in another thread some of the remappings I have: like how Caps often ends us remapped to Esc (when alone) or Control (in conjunction with another key: act as a modifier) o…

> Going up 2 pages up in the browser? The left shift pressed twice (Shift Shift) gives me 2 PageUp.

Is this on a device with a tiny keyboard, or is it really something you do so often you want it on the main area instead of pressing PageUp twice?

Re: AutoHotKey V2 (Breaking Upgrade)

#64
post #49
post #45

Earlier quoted context omitted.

I only have a single AHK script (I don't use windows much) and it specifically maps WinKey + Q to close a window and WinKey + H to hide a window. Windows is basically unusable for me without this convenience script!

For me it was the CMD+` for cycling between windows of the same Application, can't live without it. Do mean "hide a window" just the CMD+H in macOS? How did you do it?

Do you have an example on how to do CMD (CTRL) + ` on Windows?

Re: AutoHotKey V2 (Breaking Upgrade)

#65

Somewhat timely. AHK is one of those utilities I absolutely cannot go without. I've been running it on all my Windows machines for 15 years now. Just a few days ago I was complaining¹ about how Excel handles formula input. After some back and forth on my yak-shaving attempt, I realized I could shave it myself with AHK. With this little bit of code, my [Enter] and [Tab] keys work the way I want them to in Excel. This…

...holy crap. You just blew my mind. I have HUNDREDS of little AHK hotkeys. I use some of them dozens of times a day. I've been wanting some way to directly target Excel like this for literal years. Thank you!!!

:) I’m kinda both proud and ashamed. I’ve also hated the ergonomics of the formula bar for years, but never tried to do anything about it.

I’ll bet I find more weird corner cases with this hot key. My first attempt didn’t handle the autocomplete, and that was a big letdown until I found the workaround. I’m sure I’ll run into something else as well.

Re: AutoHotKey V2 (Breaking Upgrade)

#66

As everyone says AHK is phenomenal but the scripting language is pretty warty. I wonder if they considered using Lua or something instead of improving their custom language?

I think the language is more of a feature than a detriment: much like Excel, it’s able to get non-programmers to do programming without realizing it. Both tools have a low barrier to entry and a relatively gradual learning curve.

All you have to do set up an AHK script is open up notepad, type a hotkey symbol, then some basic commands like “Click , ” or “Send ”, save the file, and double click to run. Doesn’t get much simpler. Loops and routines can be learned over time as needed, and aren’t necessary to meet most people’s use cases.

Re: AutoHotKey V2 (Breaking Upgrade)

#68
post #19

AHK has the distinction of being an absolutely indispensible tool and a horrendously terribly designed language. It's probably the worst-designed programming language I've ever seen. Whenever I'm frustarted with how slow and conservative Python development is, I remind myself that this is the main thing keeping us from reaching the same state as AHK. I hope that this upgrade will fix some of these problems. I'll prob…

This is true, but I feel amazing whenever I get something working and when I execute a shortcut.

Re: AutoHotKey V2 (Breaking Upgrade)

#69

Is it weird that I like Windows only because of AHK?

A little, but I did drop by this thread to say that it's one of the absolute "killer apps" for windows. It's a very VERY complete swiss army knife of automation and makes it trivial to build little utilities that interface with the OS. I use it all the time.

It's been a while so perhaps the situation w/ linux and OSX has improved, but IIRC linux was very fragmented/finnicky and OSX is absurdly overzealous on permissions so you can never get anything useful done.

I'm constantly frustrated by the enormous gulf between what my computer COULD do vs what it actually CAN do because of how much stupid wall building everyone does. AHK is one of the few things that meaningfully bridges that gap. There are so many things that are infinitely frustrating because you have to click through like 10 menus instead of issuing a simple API command, and with AHK you can get some of that back.

We live in a world where 9 times out of 10 I won't open Premiere or whatever, because it's so much faster to just use ffmpeg. I want a world where Premiere still has all it's ui shit, but also has a decent scripting interface. It's one of the reasons I'm so bullish on Blender in the 3DCG space. The scriptability/extensibility is so far ahead of everything except Houdini.

Post reply on HN