KeyRoutines
TriggerProtrigger.hotstring

Expand typed abbreviations into text anywhere on Windows 11

Typed text watches for an abbreviation you type, such as btw, and either replaces it with longer text or simply starts a routine. It needs KeyRoutines Pro.

KeyRoutines Pro is a one-time $29.99 upgrade for up to 2 PCs.

How it works

  • Set the abbreviation, up to 40 characters with no spaces, and the replacement text; leave the replacement empty to keep what you typed and just run the routine.
  • By default it fires after a space, Enter, Tab or punctuation, or you can make it fire as soon as the last character is typed.
  • The replacement follows your capitals, so Btw gives "By the way" and BTW gives "BY THE WAY"; advanced options control case sensitivity, matching inside longer words, and which characters end an abbreviation.
  • Nothing happens in password fields, and only the last few characters are kept in memory to spot a match; nothing else you type is stored or passed on.

Routines that use it

Email sign-off

Typing @@sig replaces itself with your full name, title and phone number in any app.

Today's date

Typing @@date with no replacement runs a routine where Format date and Type text insert today's date.

Start a routine by typing

Typing @@focus in any window runs Show desktop and turns on Quiet mode, no hotkey to remember.

Settings

SettingWhat it does
AbbreviationWhat you type, for example btw. Up to 40 characters, no spaces.
ReplacementText typed in its place. Leave empty to keep what you typed and just run the routine.
EndingRun after a space, Enter or punctuation, or as soon as the last letter is typed.
Case sensitiveadvancedOnly when the capitals match exactly (BTW is different from btw).
Match caseadvancedType the replacement with the capitals you used: Btw gives By the way, BTW gives BY THE WAY.
Inside wordsadvancedAlso when it ends a longer word.
Keep ending characteradvancedPut the space or punctuation you ended with back after the replacement.
Ending charactersadvancedThe characters that end an abbreviation. Leave empty for space, Enter, Tab and punctuation.

Good to know

  • It pauses while a protected game is running.
  • Clicking somewhere else in the same window doesn't reset what it has seen, so an abbreviation split across a click can still match.

Questions

How do I set up text expansion on Windows 11?
With KeyRoutines Pro, make a routine with the Typed text trigger, enter the abbreviation and the replacement text. It works in any app where you type.
Can text expansion read my passwords?
No. Typed text does nothing in password fields, keeps only the last few characters in memory, and never stores or sends anything else you type.

Pairs well with

Build this routine in KeyRoutines

Free from the Microsoft Store for Windows 11 and 10. Pro is a one-time upgrade.