Word Typewriter

Hi everyone, I am looking for a way to make a typewriter that adds word after word and not character after character. Do you have any suggestions?

Hey @ilyasver,

using the KeyboardIn DAT, collect all typed characters in a variable until you encounter a space. At that point move the collected characters into another variable (where you keep your words) and start fresh with the character variable.

Best to do this in an extensions as it is easy to store things in attributes there.

If you rather like to work with operators, use a Table DAT with 2 rows: First row will be your collected characters, seconds row the collected words. Until a space comes in via the KeyboardIn DAT, keep adding the character to the cell in the the Table’s first row. When a space is encountered, append these collected characters to the second row’s cell and clear out the first row’s cell.

You probably would want to add a bit more functionality like deleting characters and words but this shows the general idea - save characters and words separately from another.

Does that help?
Cheers
Markus

@ilyasver Do you mean as you’re typing or from some pre-made text?

wow thank you so much!!