How to repeat a type keystroke action multiple times

Rather than 100 underscores, have you considered pasting an HTML horizontal rule? I have a KM Named Clipboard, and corresponding macro, just for this purpose.

But if you really want to repeat a character (or a string), then you could use this JavaScript for Automation (JXA) script:

1 Like