This utility copies the selected text and performs a text wrap function by leveraging the command line utility "fold" provided in macOS, and puts the result in the clipboard.
I provide two methods user can use:
-
By Dialog
Setup width by config dialog, and shortcut key will copy and process the text into clipboard -
By Context Menu
This is a dynamic and enhanced version whereby the default width is setup by long-pressed shortcut key, and if text is selected, will copy and process the text into clipboard. Shortcut Key without delay will perform similarly using default width
Method 1: Wrap Text At Selectable Width By Dialog
For setup, please select the width by activating shortcut key when mouse is top of screen.
[GBL] Wrap Text At Selectable Width.kmmacros (5.8 KB)
Method 2: Wrap Text At Selectable Width By Context Menu
User select default width by long-pressed shortcut-key. After width is selected, the macro will detected if there is selected text, with which it will proceed to process the copied text.
Shortcut Key without delay will perform similarly using default width.
[GBL] Wrap Text At Selectable Width (By Context Menu).kmmacros (6.1 KB)