📌  相关文章
📜  google 脚本获取文档 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:21.293000             🧑  作者: Mango

代码示例1
// 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();