I have used a program called
Active Words for well over a decade, and I recommend it very highly. I've used it to substitute words, paragraphs, and full documents. I've used it to automatically correct some of my frequent typos. I've used it to insert passwords, open files, launch programs, navigate to web sites, etc. etc. etc. All these are simple, straightforward procedures. Active Words also has a scripting language that considerably expands what you can have it do.
Active Words is one of the very first programs I install on any computer. However, I should mention that I am using an old version. For some reason that neither I nor their tech support could pinpoint, the current version didn't work well on my Windows 7 computer, so I've continued to use version 2.1. That version won't work on Windows 10, however, so if/when I eventually buy a new computer, I'll move to Active Words 3, which is available for an annual fee of $30. In many cases, that annual fee would be a deal breaker for me, but I think Active Words is worth it.