Is there a way to insert hyphens between a string of words in Word or other applications? tx
Hyphenate Selected Text.kmmacros (20 KB)
Thanks. I just saw this.
I found an AppleScript that does this too:
Dim rng As Range
Set rng = Selection.Range
rng.Text = Replace(rng.Text, " ", "-")
By the way, this app is great for these sorts of general-purpose text transformations: GitHub - amebalabs/Esse: Swiss army knife of text transformation for iOS and macOS
It provides a command line tool
/Applications/Esse.app/Contents/MacOS/EsseCommandLine, so it can be scripted by KM.