Is it possible to have a single macro within Keyboard Maestro in which you list a bunch of names in lowercase under "Triggered by any of the following:", and Keyboard Maestro automatically capitalises those names whenever they're typed?
Say for example I've listed the names "jeff", "holly" and "dave" within the macro. Then I write this sentence in a text editor: "jeff was speaking to holly when dave interrupted them." I would like Keyboard Maestro to capitalise the names in real-time, after they're typed.
I understand I could create a single rule for each name, but I was wondering whether it was possible to create a simpler catch-all rule.
If I was maintaining a large list I'd write a macro to recreate the trigger in this using a list in a variable.
I wouldn't generally want to use a massive list in the regular expression, but I haven't experimented to see at what point Keyboard Maestro starts to bog down.
I know nothing about regex, but would I be right in thinking there's some way to include multiple alternative terminator characters within the square brackets?
I didn't know much about regex either - still don't. This quick video series taught me much of what I needed to know, for my earlier regex related travels, using Keyboard Maestro:
Watching the Keyboard Maestro Forum wizards' posts fill in the complicated rest.
If you, or anyone, would like to learn how to write, read, and use Regular Expressions (RegEx), I'd suggest the following:
Getting Started with RegEx
Regular expressions (RegEx or RegExp) are extremely powerful, but have an initial steep learning curve that is often intimidating. But once you get over that initial hump, and you continue to write new RegExp, it will become much easier.
I do all of my RegEx development at this free website: