MACRO: Word puzzle filler assistant

Each morning, I stretch my brain by spending some time doing word puzzles, including Wordle-like games, crosswords, and some others. In the Wordle-like category, I play Wordle, Quordle, Sequence, and a Canadian-specific version of Wordle called Canuckle.

For each of these, I have a slightly different set of words, based on what's worked best for me in the past. And after years of playing them, I finally got tired of typing them all in each day—as well as having to click the stupid "Play" button on Wordle.

So I did what any self-respecting KM user would do: I wrote a macro to handle the mundane task of entering my words. But I didn't want it to just blindly enter all four words every time; I wanted it to pause after each one, so I could see if I knew enough to make a more-educated guess (or enter the answer) instead of entering the next word in the list.

And that's what the macro does: It enters the first word in the puzzle, then waits for either the Control key or the Shift key to be pressed. If the Shift key is pressed, the macro cancels so I can type in the next word myself. If the Control key is pressed, the next word is entered.

Though I only wrote this today, I've been using it to work through archives of old puzzles, and it seems to work quite well on each of the word games. Here's the macro, and then I'll explain how to use/customize it:

Download Macro(s): Word puzzle filler.kmmacros (39 KB)

Macro screenshot

Macro notes
  • Macros are always disabled when imported into the Keyboard Maestro Editor.
    • The user must ensure the macro is enabled.
    • The user must also ensure the macro's parent macro-group is enabled.
System information
  • macOS 14.7
  • Keyboard Maestro v11.0.3

The macro is in a group that's active when any of Safari, Safari Technology Preview, Chrome, or Firefox are active. If you use other browsers, you'll want to modify the group's settings.

The only thing you should have to modify in the macro itself are the four green boxes near the top. These contain the four words you'd like to use in each game, in the order you want them used. I've filled them with real words, but not really good words to be a starting word set (for example, there's no "A" in any of the words). You can set them all to the same word list, or customize it per game.

You may want to change the two yellow boxes near the end: These control the keys that are watched in the "go to next word or cancel?" step of the macro. If you change the Control key, make sure you change it in both yellow boxes; the Shift key only exists in the first box, because the second assumes if you didn't press Control, the macro should cancel.

The macro works by checking the URL of the frontmost browser window for part of each game's unique URL. It uses that to both make sure the macro should run, and to choose the proper word list to use.

If you've loaded Wordle, it will click the stupid "Play" button and wait for the puzzle to load before entering the first word; on the other game pages, it just enters the first word.

I've found this works very well for me; if you play word games and use the same starting words each day, this macro will save you a bunch of typing.

-rob.

1 Like