有没有办法从应用程序脚本访问Google文档摘要?
2022年3月,Google宣布,以及文档概述。我想知道是否有一种方法可以访问这些加油中的这些摘要,例如 DocumentApp 。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
2022年3月,Google宣布,以及文档概述。我想知道是否有一种方法可以访问这些加油中的这些摘要,例如 DocumentApp 。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
从Google文档获取摘要文本:
在当前阶段,为了检索文档摘要,您可以使用Drive API检索它,如下所示。
Google Apps 脚本示例如下。使用此功能时,请在高级 Google 服务中启用 Drive API。
运行此脚本时,可以检索 Google 文档的摘要文本。
在这种情况下,您还可以按如下方式使用云端硬盘服务(DriveApp)。
将摘要文本设置为 Google 文档:
为了检索文档摘要,您可以使用 Drive API 将其放入,如下所示。
Google Apps 脚本示例如下。使用此功能时,请在高级 Google 服务中启用 Drive API。
运行此脚本时,可以将摘要文本放入 Google 文档。
在这种情况下,您还可以按如下方式使用云端硬盘服务(DriveApp)。
注意:
参考文献:
Get summary text from Google Document:
In the current stage, in order to retrieve the document summary, you can retrieve it using Drive API as follows.
The sample Google Apps Script is as follows. When you use this, please enable Drive API at Advanced Google services.
When this script is run, the summary text of Google Document can be retrieved.
In this case, you can also use Drive service (DriveApp) as follows.
Set summary text to Google Document:
In order to retrieve the document summary, you can put it using Drive API as follows.
The sample Google Apps Script is as follows. When you use this, please enable Drive API at Advanced Google services.
When this script is run, the summary text can be put to Google Document.
In this case, you can also use Drive service (DriveApp) as follows.
Note:
References: