Skip to content

charleskimbac/ahk-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ahk-utils

Some AHK scripts that I personally use.

GlobalKeybinds: Keybinds (and more) that I always have on.

GlobalKeybinds attempts to provide useful keybinds (mostly while typing) while also respecting widely-used keybinds. It also contains other features regarding some specific keys (see below).

C = Ctrl, S = Shift, M = Alt

Keybind Function
C-l forward char
C-h backward char
M-l forward word
M-h backward word
C-k next line
C-j previous line
C-o newline above
C-. newline below
C-m kill line
C-q move beginning of line
C-e move end of line
C-S-z redo
M-0 send ๐Ÿ‘
C-M-o send C-o

Additional features

  • A small translucent emacs logo appears at the top right of your screen while the keybinds are active (i.e. while the script is not suspended)
  • Auto-suspend keybindings depending on the current active window (add your own .exe's; Window Spy will be helpful)
  • Disables the F1 key
  • Disables the Insert key
  • Permanently enables NumLock

Enable/disable any of these features at the top of GlobalKeybinds.ahk.

Usage

Run GlobalKeybinds.ahk with AutoHotkey v2.0.
Suspend the script to temporarily disable the keybinds.

Running at Windows startup

  • WinKey+R โ†’ Enter "shell:startup" โ†’ Place a shortcut to the script here

  • "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" โ†’ Place a shortcut to the script here

PDNerase: Easily mimic MS Paint's erase interaction in Paint.NET. This assumes that the background is white. Press Ctrl+E to switch between draw/erase mode.
WindowAlwaysOnTop: Press Ctrl+Space to toggle between keeping a window always on top and not.
MoveWindowToNextDesktop: Keybinds to move the current focused window to the previous/next Windows desktop.
  • Win+Ctrl+Shift+โ†: Move window to previous desktop
  • Win+Ctrl+Shift+โ†’: Move window to next desktop

About

Some AHK scripts that I use.

Resources

License

Stars

Watchers

Forks

Contributors