Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

google scripts get document

// Open a document by ID.
var doc = DocumentApp.openById('DOCUMENT_ID_GOES_HERE');
// Open a document by URL.
var doc = DocumentApp.openByUrl(url);
// Get the document to which this script is bound.
var doc = DocumentApp.getActiveDocument();
Source by developers.google.com #
 
PREVIOUS NEXT
Tagged: #google #scripts #document
ADD COMMENT
Topic
Name
5+8 =