Learn AutoHotKey by stealing my scripts

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • AutoHotkeyScripts

    Personal AutoHotkey Scripts (by larsch)

  • My similar solution that I use for Outlook/Teams/TotalCommander/more: https://github.com/larsch/AutoHotkeyScripts/blob/main/Launch...

    I do include Minimize-if-already-active though. I like to be able to temporary flip an application into focus (e.g. Outlook) and then return to what I was previously working on.

    Plus a tweak: When launching, programs may open in the background because Windows attempts to prevent applications stealing focus when you are working in another program. I overcome this by focusing the tray before launching.

  • daveconfig

    A collection of settings and tiny scripts for many things. Note: only main branch is safe!

  • Autohotkey is amazing, but I wish it used a saner language. I struggled to write a reliable golden ratio version of aero snap [1]. Dealing with different monitors, sizes, etc doesn't seem like it should be so hard, but I always get tripped up by the bizarre Loop syntax or silent failures from some simple mistake that suck the fun out and I give up.

    I found ahk python module [2] but combining it with the keyboard module doesn't work as well as autohotkey as a hotkey listener.

    [1]: https://github.com/idbrii/daveconfig/blob/main/win/autohotke...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • uncap

    Map Caps Lock to Escape or any key to any key

  • ahkv2-scripts

    A collection of AutoHotKey v2 scripts

  • Here is my collection of AutoHotKey v2 scripts: https://github.com/EBADBEEF/ahkv2-scripts

    The AHK documentation is really good, and is a windows help file (chm). It is really fast, has a good enough indexed search, and example code is usually present.

  • kanata

    Improve keyboard comfort and usability with advanced customization

  • Kanata[0] is amazing. It support both Linux and Windows. But I'm yet to try it on windows because my majority work is on linux.

    [0] https://github.com/jtroo/kanata

  • TapHoldManager

    An AHK library for Long Press / Multi tap / Multi tap and hold

  • > I have swapped Caps Lock and Escape on my Linux personal laptop and I have grown used to it.

    I'd also suggest "home row modifier keys" (or "home row mods").

    The idea is to have the key behave the same when tapped, but differently if held. (e.g. https://github.com/evilC/TapHoldManager implements this for AHK)

    With home row modifiers, Shift/Ctrl/Win/Alt are put underneath fdsa (and jkl;). -- This reduces the need to use pinky fingers for these keys, & the fingers get to remain on home row more.

  • AutoHotInterception

    An AutoHotkey wrapper for the Interception driver

  • I've had some good experiences with using Luamacros to intercept a second keyboard and forward the keypresses to autohotkey like this: https://miquelvir.medium.com/secondkeyboard-1c39e52e023b

    Apparently there is also this: https://github.com/evilC/AutoHotInterception

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • AutoKey

    AutoKey, a desktop automation utility for Linux and X11.

  • I use AutoKey on Linux. It's less powerful than AHK but uses native Python which is nice: https://github.com/autokey/autokey

  • hjkl-keybindings

    Use Caps Lock + hjkl everywhere on Linux and Windows

  • I used to use an Ann Pro 2 keyboard. By default, h, j, k, l could be used as arrow keys when fn was held down. The fn keys also remapped '[]' to 'home' and 'end', ";'" to pgup, pgdown, and '/' to delete. It also had this feature where the caps lock key acted as a fn key when held down. I very quickly got used to holding the caps lock key with my left pinky to access all the keys I needed with my right hand. I became much more productive on this little 60% keyboard than on any full-sized one as I never had to move my fingers from the home row.

    I've now switched to a qmk compatible Keychron V2 (65%) keyboard and remapped the keys exactly the same way. I'm very tempted to go back to a more compact 60% since I literally never use the arrow keys.

    When I use my laptop on the go, AHK to the rescue. I found a script[0] that does almost the same thing, unfortunately, it fails when I use more than one modifier with the arrow keys. For example: shift + ctrl + left arrow to select one word to the left, which is shift + ctrl + caps lock + h in my case, doesn't work.

    [0] https://github.com/AlexP11223/hjkl-keybindings/blob/master/w...

  • dotfiles

  • I was stuck on the same struggles, but eventually managed to bodge something together:

    https://github.com/hwalinga/dotfiles/blob/master/CapsLockCtr...

    It also implements the double feature functionality of CapsLock that now functions as Ctrl when pressed with another key, and just Esc when tapped.

  • lintalist

    Searchable interactive texts to copy & paste text, run scripts, using easily exchangeable bundles

  • Cannot say if useful, but if you need to insert/copy paste text (and modifiers) there is a tool written in AHK that is very handy:

    https://lintalist.github.io/

  • autohotkey-scripts

    Some AutoHotKey scripts that I use[d] (by diogotito)

  • kinto

    Mac-style shortcut keys for Linux & Windows. (by rbreaves)

  • If you like macOS keyboard shortcuts, I recommend you checkout Kinto go Windows and Linux. On Windows, Kinto used AHK

    https://kinto.sh

    However, at least when I set it up Kinto did not provide switching windows I’m this fashion. Here is the script I use.

    ```

        ; BRING FORWARD ALL WINDOWS OF THE CURRENT APPLICATION

  • autohotkey-scripts

    Some of my AutoHotKey scripts (by hwayne)

  • That's one of the things I have in the project! At least the window switching. Not the dynamic window selection and "edit mode" though.

        https://github.com/hwayne/autohotkey-scripts/blob/main/Lib/WindowSwitching.ahk

  • Ditto

    Ditto is an extension to the Windows Clipboard. You copy something to the Clipboard and Ditto takes what you copied and stores it in a database to retrieve at a later time.

  • In case you are not aware: https://ditto-cp.sourceforge.io/

  • KeyboardRemap

    My custom keyboard remap, using AutoHotkey v2

  • I'm using AutoHotkey as my own custom IME, allowing me to type special characters, navigate in text and switch between applications without leaving the middle 3 rows of the keyboard: https://github.com/MatejKafka/KeyboardRemap/

    The README contains layout diagrams if anyone's interested.

  • sharpkeys

    SharpKeys is a utility that manages a Registry key that allows Windows to remap one key to any other key.

  • Remapping Capslock to Control:

    Windows: https://github.com/randyrants/sharpkeys

    Ubuntu Linux (don't know about other Linuxes): /usr/share/X11/xkb/symbols/pc

        key  { [ Caps_Lock  ] };

  • AutoHotkey

    :gear: My Autohotkey productivity suite that includes shortcuts, hotstrings, hotkeys, apps/utilities, AutoCorrect (by denolfe)

  • AutoHotkey is what made me fall love programming after disliking it after getting my degree. After switching to a macbook, AutoHotkey is probably what I miss most from being on Windows. It really has it all.

    My old suite had:

    - Universal VIM movement w/ CapsLock

    - App launch hotkeys

    - App-specific hotkeys

    - Easy text-expansion

    Hasn't been updated in years, but here is the repo for those interested: https://github.com/denolfe/autohotkey

    Or a nice boilerplate to start from: https://github.com/denolfe/AutoHotkeyBoilerplate

  • AutoHotkeyBoilerplate

    An AutoHotkey boilerplate to help jumpstart a script for personal productivity

  • AutoHotkey is what made me fall love programming after disliking it after getting my degree. After switching to a macbook, AutoHotkey is probably what I miss most from being on Windows. It really has it all.

    My old suite had:

    - Universal VIM movement w/ CapsLock

    - App launch hotkeys

    - App-specific hotkeys

    - Easy text-expansion

    Hasn't been updated in years, but here is the repo for those interested: https://github.com/denolfe/autohotkey

    Or a nice boilerplate to start from: https://github.com/denolfe/AutoHotkeyBoilerplate

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts