I need a snippet that inserts a blank line without submitting the message in the app I’m typing into. This is Claude.ai’s web chat, tested in Firefox, though the behavior doesn’t seem to be specific to that browser.
Three separate observations, all pointing at the same missing feature:
-
If I use the Enter or Return key Keyboard Macro in the snippet editor, it submits/sends the message instead of just inserting a line break.
-
If I instead put a literal blank line directly in the snippet content, with no macro at all, that blank line gets stripped out when the snippet expands. It just disappears.
-
This isn’t unique to TextExpander either. If I copy text containing blank lines from somewhere like Notepad++ and paste it directly into that same app with Ctrl+V, the blank lines get stripped out there too.
Manually pressing Shift+Enter in that app works correctly. It produces a real blank line without submitting anything and without getting stripped. So Shift+Enter is the one input method that actually works, but I can’t find a way to make a snippet send it.
Looking at the Keyboard Macro menu in the snippet editor, the only key press options available are Enter, Esc, Return, and Tab. There’s no option to add a Shift modifier to any of these.
I’m on Windows, so AppleScript isn’t an option for me either.
Is there any way, through a macro, script, or hidden feature, to have a snippet send an actual Shift+Enter keystroke rather than a plain Enter or Return? I need two of these in a row, back to back, within a single snippet.
Any guidance would be appreciated. Thanks!