This new script is helpful in difficult text wrap situations.
A friend contacted my today with an InDesign file where the text was going overset, and she didn't know how to solve it. The culprit was an extremely long URL that ended in a long string of random numbers and letters.
The solution is to insert discretionary line breaks at key points in the URL so that InDesign can wrap the URL in the text frame. In this case, since the end of the URL is random numbers and letters, putting a discretionary line break between each character pair allows InDesign to wrap it in the best possible manner.
Of course, that's tedious, so I whipped up this script that inserts a discretionary line break between every pair of characters in the selection. The script is free. I hope you find it useful. Enjoy!