UUIDs with TextExpander
I recently needed a way generate UUIDs on-the-fly with TextExpander to uniquely tag some documentation.
- Create a new snippet
- Change its content type to ‘Shell Script’
- Paste in the following code:
- Pick your own abbreviation (like NSB, I use
Then, whenever you need a new UUID, you just type
;uuid and the output will look something like