Randomly-Selected Snippets in TextExpander

Brett Kelly wrote a nice tutorial on how to do random snippets in TextExpander using a nifty python script. An idea originally posed by Shawn Blanc

I wasn’t able to get Brett’s script working on first try because I had some linebreaks (which I didn’t notice) in my snippets, stupid I know. I actually figured out this was the problem by rewriting his script using Ruby. Turned out my Ruby version did allow for line-breaks. So I’d thought I’d share this with the rest of the people:

Thanks Brett

See more
This post has 2 notes
Tagged with textexpander, snippets, python, ruby,
Posted at 10:46 AM 21 April 2011
  1. gidogeek posted this
Bookmark and Share