Apps Script כולל שירות מובנה שמאפשר ליצור, לקרוא ולערוך את Google Slides באופן פרוגרמטי. יש שתי דרכים שבהן אפשר להשתמש ב-Apps Script כדי לבצע פעולות ב-Google Slides:
כל סקריפט יכול ליצור מצגת חדשה או לגשת למצגת קיימת אם למשתמש יש הרשאות גישה מתאימות למצגת הזו.
אפשר לקשר סקריפט למצגת, וכך הסקריפט מקבל גישה ישירה יותר לממשק המשתמש של Slides. כדי ליצור סקריפט שקשור לקובץ, בוחרים באפשרות תוספים>Apps Script מתוך Google Slides.
תפריטים וממשקי משתמש בהתאמה אישית
אתם יכולים להתאים אישית את Google Slides על ידי הוספה של תפריטים מותאמים אישית, תיבות דו-שיח וסרגלי צד. במדריך לתפריטים מוסבר איך ליצור תפריטים. במדריך לשירות HTML מוסבר איך להתאים אישית את התוכן של תיבת דו-שיח.
אם אתם מתכננים לפרסם את הממשק המותאם אישית שלכם כחלק מתוסף, כדאי לפעול לפי מדריך הסגנון כדי לשמור על עקביות עם הסגנון והפריסה של כלי העריכה של Google Slides.
תוספים ל-Google Slides
תוספים הם פרויקטים של Apps Script שמגיעים בחבילה מיוחדת, פועלים בתוך Google Slides ואפשר להתקין אותם מחנות התוספים של Google Slides. אם פיתחתם סקריפט ל-Google Slides ואתם רוצים לשתף אותו עם העולם, אתם יכולים לפרסם את הסקריפט כתוסף באמצעות Apps Script, כדי שמשתמשים אחרים יוכלו להתקין אותו מחנות התוספים.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-08-04 (שעון UTC)."],[[["\u003cp\u003eGoogle Apps Script enables programmatic creation and modification of Google Slides presentations.\u003c/p\u003e\n"],["\u003cp\u003eApps Script allows customization of Google Slides through custom menus, dialogs, and sidebars, and integration with other Google services.\u003c/p\u003e\n"],["\u003cp\u003eScripts can be bound to a presentation for direct access to the Slides user interface or used independently with appropriate permissions.\u003c/p\u003e\n"],["\u003cp\u003eApps Script projects can be packaged and published as add-ons, extending Google Slides functionality for other users.\u003c/p\u003e\n"]]],[],null,["# Extending Google Slides\n\nGoogle Apps Script lets you programmatically create and modify Google Slides\npresentations using the\n[Slides service](/apps-script/reference/slides/slides-app).\nYou can use Apps Script to add [custom menus](/apps-script/guides/menus),\n[dialogs, and sidebars](/apps-script/guides/dialogs) to Slides. You\ncan also integrate Slides with other\n[Google services](/apps-script/guides/services) like Calendar, Drive, and\nGmail.\n| **Note:** The [Slides service](/apps-script/reference/slides/slides-app) is the recommended way of working with Google Slides in Apps Script. You can also enable the [Slides advanced service](/apps-script/advanced/slides) if you need to invoke the [Slides API](/slides) directly.\n\nGet started\n-----------\n\nApps Script includes a\n[built-in service](/apps-script/reference/slides/slides-app)\nthat lets you programmatically create, read, and edit Google Slides.\nApps Script can interact with Google Slides in two ways:\n\n1. Any script can create a new presentation or access an existing presentation if the user has the appropriate access permissions for that presentation.\n2. A script can be [bound](/apps-script/guides/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** \\\u003e **Apps Script** from within Google Slides.\n\nCustom menus and user interfaces\n--------------------------------\n\nYou can customize Google Slides by adding custom menus, dialog boxes, and\nsidebars. To learn the basics of creating menus, see the\n[guide to menus](/apps-script/guides/menus). To learn about customizing the\ncontent of a dialog box, see the\n[guide to HTML service](/apps-script/guides/html#serve_html_as_a_google_docs_sheets_or_forms_user_interface).\n\nIf you're planning to publish your custom interface as part of an\n[add-on](#add-ons), follow the\n[style guide](/workspace/add-ons/guides/editor-style) for consistency with the\nstyle and layout of the Google Slides editor.\n\nadd-ons for Google Slides\n-------------------------\n\n[add-ons](/workspace/add-ons/overview) are specially packaged Apps Script\nprojects that run inside Google Slides and can be installed\nfrom 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\n[publish](/workspace/add-ons/how-tos/editor-publish-overview) your script as an\nadd-on so other users can install it from the add-on store.\n\nSee the\n[sample translate add-on](/workspace/add-ons/editors/slides/quickstart/translate)\nor\n[sample progress bar add-on](/workspace/add-ons/editors/slides/quickstart/progress-bar)\nfor examples of Slides add-ons."]]