การขยาย Google สไลด์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Google Apps Script ช่วยให้คุณสร้างและแก้ไขงานนำเสนอ Google สไลด์
โดยใช้บริการสไลด์ได้โดยอัตโนมัติ
คุณใช้ Apps Script เพื่อเพิ่มเมนูที่กำหนดเอง
กล่องโต้ตอบ และแถบด้านข้างลงในสไลด์ได้ นอกจากนี้ คุณยังผสานรวมสไลด์กับบริการอื่นๆ ของ Google เช่น ปฏิทิน, ไดรฟ์ และ Gmail ได้ด้วย
เริ่มต้นใช้งาน
Apps Script มี
บริการในตัว
ที่ช่วยให้คุณสร้าง อ่าน และแก้ไข Google สไลด์ได้โดยอัตโนมัติ
Apps Script สามารถโต้ตอบกับ Google สไลด์ได้ 2 วิธี ดังนี้
- สคริปต์ใดก็ได้สามารถสร้างงานนำเสนอใหม่หรือเข้าถึงงานนำเสนอที่มีอยู่
หากผู้ใช้มีสิทธิ์เข้าถึงที่เหมาะสมสำหรับงานนำเสนอนั้น
- สคริปต์สามารถเชื่อมโยงกับงานนำเสนอได้ ซึ่งจะทำให้สคริปต์เข้าถึงอินเทอร์เฟซผู้ใช้ของสไลด์ได้โดยตรงมากขึ้นสำหรับสคริปต์นั้น หากต้องการสร้างสคริปต์ที่เชื่อมโยง ให้เลือกส่วนขยาย
> Apps Script
จากภายใน Google สไลด์
เมนูและอินเทอร์เฟซผู้ใช้ที่กำหนดเอง
คุณปรับแต่ง Google สไลด์ได้โดยการเพิ่มเมนู กล่องโต้ตอบ และแถบด้านข้างที่กำหนดเอง ดูข้อมูลพื้นฐานเกี่ยวกับการสร้างเมนูได้ที่คำแนะนำเกี่ยวกับเมนู ดูข้อมูลเกี่ยวกับการปรับแต่งเนื้อหาของกล่องโต้ตอบได้ที่คู่มือบริการ HTML
หากวางแผนที่จะเผยแพร่อินเทอร์เฟซที่กำหนดเองเป็นส่วนหนึ่งของส่วนเสริม ให้ทำตามคู่มือการออกแบบเพื่อให้สอดคล้องกับรูปแบบและเลย์เอาต์ของโปรแกรมแก้ไข Google สไลด์
ส่วนเสริมสำหรับ Google สไลด์
ส่วนเสริมคือโปรเจ็กต์ Apps Script
ที่จัดแพ็กเกจมาเป็นพิเศษซึ่งทำงานภายใน Google สไลด์และติดตั้งได้
จากร้านค้าส่วนเสริมของ Google สไลด์ หากคุณพัฒนาสคริปต์สำหรับ Google สไลด์และต้องการแชร์กับผู้ใช้ทั่วโลก Apps Script จะช่วยให้คุณเผยแพร่สคริปต์เป็นส่วนเสริมได้ เพื่อให้ผู้ใช้รายอื่นติดตั้งจากร้านค้าส่วนเสริมได้
ดูตัวอย่างส่วนเสริมของสไลด์ได้ในตัวอย่างส่วนเสริมการแปล
หรือตัวอย่างส่วนเสริมแถบความคืบหน้า
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 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."]]