showing results for - "google scripts get document"
Lawson
12 Jun 2016
1// Open a document by ID.
2var doc = DocumentApp.openById('DOCUMENT_ID_GOES_HERE');
3// Open a document by URL.
4var doc = DocumentApp.openByUrl(url);
5// Get the document to which this script is bound.
6var doc = DocumentApp.getActiveDocument();