This takes all straight quotation marks (single and double) and turns them into smart quotes, also known as curly quotes.
I write a lot of story notes in Google Keep on my phone, and when I write these, they use straight quotes. But I'm a typographer, and so I care about using the correct punctuation. Straight quotes are generic, while smart quotes are forward and back facing, depending on whether it's an opening or closing quotation mark.
This simple script will run through your Google Doc and replace all straight quotes with the correct smart quotes. It will also replace a double hyphen with an em dash. Last, it replaces space en-dash space with an em dash.
This is a quick way to get your novel manuscript ready for publication.
For more awesome, go to http://www.jwashburn.com