Skip to content

adammansfield/my-autohotkey-scripts

Repository files navigation

My AutoHotkey Scripts

This is my personal collection of AutoHotkey scripts.

Scripts

  • Hotkey Scripts

    • audio.ahk: Hotkeys for controlling playback and recording audio devices.
    • capslock.ahk: Change Capslock to be an Escape key.
    • cygwin.ahk: Quick launch and show/hide ability of Cygwin terminals.
    • etc.ahk: Miscellaneous hotkeys.
    • music.ahk: Hotkeys for my music program.
    • prototype.ahk: Hotkeys for this Autohotkey script such as reloading and protoyping.
    • vim.ahk: Vim commands everywhere activated through right Alt key.
  • Hotstring Scripts

    • abbreviatons.ahk: Automatic exapnsions for abbreviations.
    • autocorrect.ahk: Automatic spelling corrections while typing.
    • coding.ahk: Hotstrings useful for coding.
    • date.ahk: Hotstrings for outputting the current date and time.
    • logging.ahk: Hotstrings for logging notes in OneNote.
    • symbols.ahk: Replace hotstring with symbols.

Dependencies

Formatting

AutoHotkey v2 files can be formatted from the command line with:

pwsh ./Format-Ahk.ps1

Notes:

  • The default target is the v2 entry script plus the my-autohotkey-scripts/ tree.
  • Pass -Path to format a specific file or folder.
  • Pass -Check to fail if any file would be reformatted.
  • Optional formatter parameters:
    • -IndentStyle Spaces|Tabs
    • -IndentSize 2|4 (or another value from 1 to 8 when using spaces)
    • -BraceStyle "One True Brace"|"Allman"|"One True Brace Variant"
    • -ArrayStyle none|collapse|expand
    • -ObjectStyle none|collapse|expand
  • The first run bootstraps the upstream formatter into .tools/vscode-autohotkey2-lsp/.
  • The formatter cache auto-refreshes every 30 days and records the last refresh in .tools/vscode-autohotkey2-lsp-updated-at.txt.
  • Requires git and bun in PATH.

Third-Party Sources

About

My personal collection of Autohotkey scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors