Thanks for posting the scripts!
You can also convert text to outlines using this approach. You 'll get outlined text in pdf and still have a live text in indd.
In my opinion, using the scripts makes sense when you have to send an indd file to someone, but don't want or have no right to give fonts.
did you test all four scripts and did they all crash InDesign CC 2018 ?
No just the "convert all to outlines".
Surprised that Adobe does not have this feature built in yet. I was in a rush on a print job so I just did each of the 48 pages by hand.
Just tested this one on the active spread of a test document with CC 2018.1. Had no crash.
So maybe something's "special" with your spread or the text frames on it.