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?
AutoHotKey V2 (Breaking Upgrade)
61–70 of 124 posts
Re: AutoHotKey V2 (Breaking Upgrade)
#62As 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?
Re: AutoHotKey V2 (Breaking Upgrade)
#63Earlier 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…
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)
#64Earlier 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?
Re: AutoHotKey V2 (Breaking Upgrade)
#65Somewhat 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’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)
#66As 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?
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)
#67Re: AutoHotKey V2 (Breaking Upgrade)
#68AHK 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…
Re: AutoHotKey V2 (Breaking Upgrade)
#69Is it weird that I like Windows only because of AHK?
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.
Re: AutoHotKey V2 (Breaking Upgrade)
#70I love AutoHotKey but why do I have to learn a new language to use it? Why can't it use an established language like js or python?