Recipe Create Presentation

作者 googleworkspacea3768d0e82ad无许可证31K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库昨天更新

Create a new Google Slides presentation and add initial slides.

仅含说明Documents & Office
AI 生成的概览

通过 gws 命令行工具创建新的 Google 幻灯片演示文稿并添加初始幻灯片。

功能
该配方介绍如何使用 gws 命令行工具创建指定标题的新 Google 幻灯片演示文稿,并从返回结果中获取演示文稿 ID。它还演示如何通过 gws drive permissions 命令授予写入权限,将生成的文件共享给团队成员。最终产出是一份新的、已共享的幻灯片文件。
适用场景
当你需要快速新建一份 Google 幻灯片并让协作者访问时使用。它适合诸如启动季度评审演示文稿之类的快速设置任务。
运行要求
需要可用的 gws 可执行文件和 gws-slides 技能。还需要访问 Google 幻灯片和 Google 云端硬盘,并具备相应的有效账号或凭据。不附带脚本,仅为操作说明。

Create a Google Slides Presentation

PREREQUISITE: Load the following skills to execute this recipe: gws-slides

Create a new Google Slides presentation and add initial slides.

Steps

  1. Create presentation: gws slides presentations create --json '{"title": "Quarterly Review Q2"}'
  2. Get the presentation ID from the response
  3. Share with team: gws drive permissions create --params '{"fileId": "PRESENTATION_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}'

来源与署名

来源:googleworkspace/cli位于skills/recipe-create-presentation提交a3768d0

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架