Skip to content

AhkWord 57

Pre-release
Pre-release

Choose a tag to compare

@burque505 burque505 released this 27 Oct 14:43

Superseded by AhkWord 59.

AhkWord is a word processor for Windows that AutoHotkey scripts can drive while you type. This is a work in progress.

Download and run

Nothing to install. Choose one of the two downloads below:

  • AhkWord-57.zip (17 MB): everything AhkWord needs except .NET. If your computer hasn't got the .NET 10 Desktop Runtime, AhkWord offers on its first start to download it from Microsoft for itself only (about 70 MB, checked against Microsoft's checksums, into AhkWord's own folder: nothing is installed in Windows, and no administrator is needed), or to open Microsoft's page to install it for all of Windows.
  • AhkWord-57-complete.zip (89 MB): the same with .NET 10 inside, for a computer that may not have it or isn't online. It asks nothing.

Then:

  1. Unzip it anywhere you can write to: your Documents, a USB stick (not Program Files).
  2. Double-click AhkWord.exe. Windows may say Windows protected your PC the first time, because AhkWord isn't signed: click More info, then Run anyway.

Just trying it out? Put an empty file named portable beside AhkWord.exe first. Everything AhkWord keeps (settings, recent files, templates, recovery copies) then stays in its own folder, and deleting the folder leaves no trace. Without it, settings are kept for your Windows user, shared by every copy of AhkWord.

AhkWord.exe is AutoHotkey v2.0.30, unchanged, under AhkWord's name, so you don't need AutoHotkey installed; it is under the GNU GPL v2, and its license and a link to its source come in the zip. The other parts' licenses are in THIRD-PARTY-NOTICES.md and licenses.

The documentation is at https://burque505.github.io/AhkWord/, and what is done and what comes next is in the roadmap.

New since AhkWord 56 (iteration 57)

Please update if you use footnotes, cross-references or a table of contents. These keep hidden markers in the text, and three commands could damage them:

  • Replace All changed text inside the markers: replacing a word such as "toc" could take a table of contents apart. Find, Replace and Replace All now match only the text you see, and Replace All is one Ctrl+Z.
  • Change Case changed the markers' case, so a heading's link from the table of contents broke and the outline showed the marker as text; and Ctrl+Z after it undid the step before instead. It now leaves hidden text alone, keeps each character's formatting, and is one Ctrl+Z. Markers it damaged before are put right when the document is opened.
  • Clean up pasted text (a macro) put the markers back as plain text when the selection had them. It now leaves such a selection alone and says why.

And something new:

  • A command palette: press Ctrl+Shift+P (or Tools > Command Palette, or the magnifier on the quick access toolbar), type part of a command's name, and press Enter. It finds any ribbon command, shown with the tab and group it is on and its shortcut, and your macros, the styles, your snippets and recent documents. A command the ribbon has greyed out is greyed out here too, and the ones you used last come first.

For event hooks see AhkWord 56, and for snippets and the new headers and footers AhkWord 55.

Thanks to TheArkive's M-ArkDown, whose Markdown extensions AhkWord follows for list styles and picture sizes.