• Stars
    star
    196
  • Rank 198,553 (Top 4 %)
  • Language AutoHotkey
  • License
    The Unlicense
  • Created over 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Some of my AutoHotKey scripts

autohotkey-scripts

Interested in AutoHotKey but don't know where to start? This is a collection of scripts I use every day, annotated with plenty of comments so you can understand how it all works!

Disclaimer: many of these scripts are pretty jank. There's no incentives to clean things up when I'm the only developer and user. Don't feel like your AHK needs to be pristine. Embrace the jank.

How to use

Everything is called from main. If you're completely new to AHK, you can just copy the first 10 lines of main.ahk and then pick some of the hotstrings from Hotstrings.ahk. That's all you need to start making AHK useful!

Otherwise, feel free to download the entire thing, or scavenge just the parts that seem useful to you.

Installing AHK

If you have winget, you can do winget install autohotkey.autohotkey. Otherwise you can download it from the site. Make sure you download v2.0. These scripts won't work in v1!

General Design Notes

Almost all Many of the hotkeys are designed to conflict minimally with the systems hotkeys. Some ways of achieving this:

  1. All hotstrings start with ;, so that you don't accidentally type them
  2. Hotkeys that use just ctrl or alt only activate with the righthand ctrl or alt. So if "rightctrl+1" is a hotkey, "leftctrl+1" will still do whatever it's supposed to.
  3. Some hotkeys use win+alt, which I don't think anything else uses.
  4. Some hotkeys are keyed to the numpad.

As this is adapted from my personal scripts, which I've steadily developed over time, not all hotkeys follow these rules.

Learning Opportunities

Several of the files showcase different topics in AHK. Among them:

When the same topic (like #HotIf) appears in multiple files, I erred on the side of redundant information.

More Repositories

1

awesome-cold-showers

For when people get too hyped up about things
6,601
star
2

lets-prove-leftpad

Proving leftpad correct in a dozen different ways
SystemVerilog
585
star
3

learntla

A TLA+ guide
CSS
278
star
4

learntla-v2

Learn TLA+ for free! No prior experience necessary!
TLA
144
star
5

tlacli

A script for running TLA+/TLC from the command line
Python
77
star
6

alloydocs

Proposed documentation for alloytools.org
Python
64
star
7

hacker-test-history

Let's explain all the hacker test questions!
43
star
8

aws-lambda-send-to-slack

A quick lambda script that forwards sns messages to slack
JavaScript
34
star
9

tla.vim

Vim plugin for TLA+ and PlusCal
Vim Script
29
star
10

tla-graphing-demo

A demo of analyzing a TLA+ state graph
Python
27
star
11

tla-snippets

A collection of useful TLA+ operators
TLA
21
star
12

gpt-tricks

A collection of useful uses of GPT (and other LLMs), organized as examples
16
star
13

safehouse

Ostensibly a "scale-invariant" "headless" "developer-targeted" thingimajig, actually a mental health tool.
Python
15
star
14

dotfiles

Vim Script
8
star
15

sphinx-github-action-test

A quick repo for testing compiling a sphinx doc and syncing it with S3
3
star
16

tutor

Helps you with math! If you get a problem wrong, tells you why and how you got it wrong.
Python
2
star
17

tla-pygments

A terrible pygments plugin from a terrible human
Python
2
star
18

bad-ideas

Simple problems, terrible solutions.
Shell
1
star
19

wordalyzer

Python
1
star
20

knacks

Python
1
star
21

xmlaatot

XML as a Tool of Thought
1
star
22

rsl

A turing tarpit with multiple registers!
Python
1
star
23

smlcalc

A programmable calculator written in sml/nj.
Standard ML
1
star
24

vim-pivot

Lets you swap text elements around a pivot, eg (a,b) -> (b,a)
Vim Script
1
star
25

minotaur

A Python implementation of Robert Abbott's amazing Theseus and the Minotaur game.
Python
1
star