Extending Google Slides (original) (raw)
Extending Google Slides
Stay organized with collections Save and categorize content based on your preferences.
Google Apps Script lets you programmatically create and modify Google Slides presentations using theSlides service. You can use Apps Script to add custom menus,dialogs, and sidebars to Slides. You can also integrate Slides with otherGoogle services like Calendar, Drive, and Gmail.
Get started
Apps Script includes abuilt-in servicethat lets you programmatically create, read, and edit Google Slides. Apps Script can interact with Google Slides in two ways:
- Any script can create a new presentation or access an existing presentation if the user has the appropriate access permissions for that presentation.
- A script can be bound to a presentation, which provides the script more direct access to the Slides user interface for that script. To create a bound script, select Extensions > Apps Scriptfrom 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 theguide to menus. To learn about customizing the content of a dialog box, see theguide to HTML service.
If you're planning to publish your custom interface as part of anadd-on, follow thestyle 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 youpublish your script as an add-on so other users can install it from the add-on store.
See thesample translate add-onorsample progress bar add-onfor examples of Slides add-ons.