Cursor & Selection – Apps Script Crash Course
In this video Eric Koleda gives an overview of how to use the cursor and selection functionality in Apps Script. He covers the structure of a Google Doc, how the cursor and selection are represented, and writes some live code to insert and bold text. More information is available in this blog post: http://googleappsdeveloper.blogspot.com/2013/06/introducing-google-docs-cursorselection.html