Extending Google Slides

This guide describes the Apps Script Slides service.

Google Apps Script lets you programmatically create and modify Google Slides presentations. You can use Apps Script to add custom menus, dialogs, and sidebars to Google Slides. You can also integrate Slides with other Google services like Calendar, Drive, and Gmail.

Get started

Apps Script includes special APIs to let you programmatically create, read, and edit Google Slides. Apps Script can interact with Google Slides in two broad ways: any script can create or modify a presentation if the script's user has appropriate permissions for the presentation, and a script can also be bound to a presentation, which gives the script special abilities to alter the user interface or respond when the presentation is opened. To create a bound script, select Tools > Script editor from within Google Slides.

Custom menus and user interfaces

You can customize Google Slides by adding custom menus, dialog boxes, and sidebars. To learn the basics of creating menus, see the guide to menus. To learn about customizing the content of a dialog box, see the guide to HTML service.

If you're planning to publish your custom interface as part of an add-on, follow the style guide for consistency with the style and layout of the Google Slides editor.

Add-ons for Google Slides

Add-ons are specially packaged Apps Script projects that run inside Google Slides and can be installed from the Google Slides add-on store. If you've developed a script for Google Slides and want to share it with the world, Apps Script lets you publish your script as an add-on so other users can install it from the add-on store.

See the sample translate add-on or sample progress bar add-on for examples of Slides add-ons.

发送以下问题的反馈:

此网页
Apps Script
Apps Script