Live data from Hacker News

AutoHotkey v2 Official Release Announcement

autohotkey.com

41–50 of 153 posts

Re: AutoHotkey v2 Official Release Announcement

#41
post #33

Earlier quoted context omitted.

Syntax

In today's polyglot software development world, one real difference between someone who's a programmer and a software developer is fluency in multiple languages. That might come off better when it's Python and GoLang/C++/Rust instead of AHK, but realistically, every domain has their own DSLs. A competent software developer should be able to check their ego and use curly brackets instead of PEP 8 4 spaces if that is w…

Coming from an ahk user circa 2010, I have never been able to wrap my head around pythons insistence on indentation. Ahk let's me type whatever however and it just works.

Re: AutoHotkey v2 Official Release Announcement

#42
post #24

I love Autohotkey because, in addition to its productivity benefits, it's a defensive tool against dark patterns imposed by user-hostile companies. For example, I've been using it for years to enter my Runescape password [1] due to Jagex being clueless about security [2] [1] https://reddit.com/r/runescape/comments/gxapao/how_to_paste_... [2] https://www.troyhunt.com/the-cobra-effect-that-is-disabling/

Runelite (https://runelite.net) enables you to do so, fwiw.

Re: AutoHotkey v2 Official Release Announcement

#43
post #24

I love Autohotkey because, in addition to its productivity benefits, it's a defensive tool against dark patterns imposed by user-hostile companies. For example, I've been using it for years to enter my Runescape password [1] due to Jagex being clueless about security [2] [1] https://reddit.com/r/runescape/comments/gxapao/how_to_paste_... [2] https://www.troyhunt.com/the-cobra-effect-that-is-disabling/

My favorite use case for it is a hotkey to autofill my username and password for Zwift. Zwift is a cycling app that I'm only interacting with while I'm sitting on my bicycle (on a trainer indoor)

I have 0 patience for entering a password... I'm sitting there in spandex with a fan blowing in my face and I'm holding a wireless keyboard. Anything more than Ctrl+Alt+1 is too mcuh work

Re: AutoHotkey v2 Official Release Announcement

#45
post #44

What are some use cases where having AHK scripts would help? On the same note, can anyone share some existing list of scripts and their functions which helped make their lives easier?

I had to type an incrementing number over an over. I wrote a scrip so that one key would type a variable and then increment it and another key to decrement if I messed up. Saved me a lot of time.

Re: AutoHotkey v2 Official Release Announcement

#46

I saw there's a python library that just lets you write autohotkey scripts in actual python code. I'd rather try that if I was going to rewrite my v1 scripts. AHK is awesome but the scripting language was never good. The new one looks like it has some better syntax, but native python support would be a much better solution for a lot of people.

I've been using SikuliX [1] instead of AHK for a while now, only downside is that it uses jython so it's stuck on 2.7, but I don't use it for anything complicated enough that it really matters. Also I mainly use it for long running, rarely used automation, so I'm not sure how it would compare in terms of responsiveness for tasks like text expansion.

Also I did a quick search and I assume this [2] is the library you mentioned?

[1] https://github.com/RaiMan/SikuliX1

[2] https://pypi.org/project/ahk/

Re: AutoHotkey v2 Official Release Announcement

#47
post #44

What are some use cases where having AHK scripts would help? On the same note, can anyone share some existing list of scripts and their functions which helped make their lives easier?

I like to prefix files with a YYMMDD date, so I made a script to do that when I press a hot key, and also send a text to my wife to bring me a cup of coffee.

Re: AutoHotkey v2 Official Release Announcement

#49
post #44

What are some use cases where having AHK scripts would help? On the same note, can anyone share some existing list of scripts and their functions which helped make their lives easier?

I have a laptop whose keyboard is physically a QWERTY, but I configured to use (the Belgian variant of) AZERTY. There is one physical key missing on QWERTY compared to AZERTY, so there are 3 characters I cannot type normally, and not rare ones: \

I created an AHK script that binds other, convenient key combinations to those characters. Now I can type them.

Post reply on HN