I'm using the Claude app to generate some text, and many of my inputs are just above the rate limit, so the Claude window displays Claude hit the max length for a message and has paused its response. You can write Continue to keep the chat going.
Is there some way to use Keyboard Maestro to type continue for me if this message appears in the window? I only want to do this once; if it needs to continue multiple times, it's fine for the script to stop.
I'mpretty sure you will need polling to solve this. That means you will need some code that runs intermittently or in a loop.
There's a chance that AppleScript can do this efficiently, but I'm not able to help with that approach. Instead, I can help with an OCR solution.
My solution will enter "continue" plus return just once. Then it will wait for Claude's continue prompt to disappear, then it will return to its initial search state and start over. Claude has to be the frontmost app for this macro to work. So you may want to add a hotkey.