Iterate characters of a string variable or clipboard

Does anyone know how to iterate through the individual characters in a string? I can iterate over lines in a string but I’m not sure about individual characters.

My intended usage is to type characters with a pause before entering the next character.

Hey Greg,

Try this.

-Chris


Type Text at a Controllable Speed.kmmacros (5.5 KB)

1 Like

This iterates over non-line ending characters. You can replace the "." regex" with (?s:.) if you want to include carriage return or linefeeds.

Keyboard Maestro Actions.kmactions (1.3 KB)

1 Like