การขยาย Google สไลด์ด้วยส่วนเสริม
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Google สไลด์เป็นโซลูชันการนำเสนอที่ทำงานบนระบบคลาวด์
พร้อมการทำงานร่วมกันแบบเรียลไทม์และเครื่องมือที่มีประสิทธิภาพ
ซึ่งช่วยให้คุณสร้างชุดสไลด์ที่กำหนดเองได้อย่างรวดเร็ว
คุณสามารถขยาย Google สไลด์ด้วยส่วนเสริมที่จะช่วยให้ผู้ใช้สร้าง
งานนำเสนอใหม่ๆ สร้างการเชื่อมต่อกับระบบของบุคคลที่สาม และผสานรวม
ข้อมูลสไลด์กับแอปพลิเคชันอื่นๆ ของ Google Workspace (เช่น Google ชีต)
คุณดูส่วนเสริมของสไลด์ที่ผู้อื่นสร้างขึ้นได้ใน Google Workspace Marketplace
สิ่งที่ทำได้
ตัวอย่างสิ่งที่คุณทำได้ด้วยส่วนเสริมที่ขยาย Google สไลด์มีดังนี้
ส่วนเสริมของสไลด์สร้างขึ้นโดยใช้ Apps Script ดูข้อมูลเพิ่มเติมเกี่ยวกับวิธีเข้าถึง
และจัดการ Google สไลด์ด้วย Apps Script ได้ที่การขยาย Google สไลด์
โครงสร้างงานนำเสนอ
งานนำเสนอ Google สไลด์ประกอบด้วยหน้าต่างๆ ซึ่งแต่ละหน้าจะมีองค์ประกอบจำนวนหนึ่ง เช่น กล่องข้อความและรูปภาพ
บริการสไลด์ของ Apps Script
มีคลาสหลายคลาสที่แสดงโครงสร้างขององค์กรในสไลด์
(เช่น Slide
และ
Shape
) คุณสามารถใช้คลาสเหล่านี้เพื่อ
อ่านและแก้ไขข้อมูลและลักษณะการทำงานของสไลด์ได้
ดูข้อมูลเพิ่มเติมเกี่ยวกับวิธีจัดระเบียบงานนำเสนอสไลด์ได้ที่
โครงสร้างของงานนำเสนอ
ทริกเกอร์
ทริกเกอร์ของ Apps Script ช่วยให้โปรเจ็กต์สคริปต์
เรียกใช้ฟังก์ชันที่ระบุเมื่อตรงตามเงื่อนไขบางอย่าง เช่น เมื่อ
มีการเปิดงานนำเสนอหรือเมื่อมีการติดตั้งส่วนเสริม
ดูข้อมูลเพิ่มเติมเกี่ยวกับทริกเกอร์ที่ใช้กับส่วนเสริมของสไลด์ได้ที่ทริกเกอร์ของส่วนเสริม
และข้อจำกัดในการใช้งาน
อ่านเพิ่มเติม
คำแนะนำ Apps Script ต่อไปนี้อาจมีประโยชน์เมื่อพัฒนาส่วนเสริมของสไลด์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-31 UTC
[null,null,["อัปเดตล่าสุด 2025-07-31 UTC"],[[["\u003cp\u003eGoogle Slides is a cloud-based presentation tool with real-time collaboration and robust features for creating custom presentations.\u003c/p\u003e\n"],["\u003cp\u003eSlides add-ons enhance Google Slides by allowing users to build presentations, connect to external systems, and integrate with other Google Workspace apps.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize Apps Script and the Slides service to programmatically read, edit, format, and visualize Google Slides presentations.\u003c/p\u003e\n"],["\u003cp\u003eApps Script triggers can automate tasks within Google Slides by executing specific functions when predefined events occur, like opening a presentation.\u003c/p\u003e\n"],["\u003cp\u003eGoogle provides comprehensive documentation and guides to support developers in building and extending Google Slides functionality with add-ons.\u003c/p\u003e\n"]]],["Google Slides add-ons, built with Apps Script, extend Slides' functionality. Key actions include reading, editing, visualizing, and formatting slides using Apps Script's Slides service or the Google Slides API. Developers can create custom menus, dialogs, and sidebars with HTML and CSS, and set up triggers for specific events. Add-ons interact with presentation elements like slides and shapes, modifying data and behavior, with the option to install from the Google Workspace Marketplace.\n"],null,["# Extending Google Slides with add-ons\n\n[Google Slides](https://workspace.google.com/products/slides/) is a cloud-based\npresentation solution with real-time collaboration and powerful\ntools that let you quickly build custom slide decks.\n\nYou can extend Google Slides with add-ons that help users construct\nnew presentations, establish connectivity to third-party systems, and integrate\nyour Slides data with other Google Workspace\napplications (like Google Sheets).\n\nYou can see the Slides add-ons others have built on the\n[Google Workspace Marketplace](https://workspace.google.com/marketplace/category/works-with-slides).\n\nWhat you can do\n---------------\n\nHere are a few things you can do with an add-on that extends Google Slides:\n\n- You can read, edit, visualize, and format slides in Google Slides presentations using the built-in Apps Script [Slides service](/apps-script/reference/slides).\n- You can use the Apps Script [advanced Slides service](/apps-script/advanced/slides) to access the [Google Slides API](/workspace/slides/how-tos/overview) directly.\n- You can create [custom menus](/workspace/add-ons/concepts/menus) and define multiple [custom dialogs and sidebars](/workspace/add-ons/concepts/dialogs) interfaces using standard HTML and CSS.\n- You can create add-ons [triggers](#triggers) that run specified functions when certain triggering events occur.\n\nSlides add-ons are built using Apps Script. To learn more about how to access\nand manage Google Slides with Apps Script, see\n[Extending Google Slides](/apps-script/guides/slides).\n\nPresentation structure\n----------------------\n\nA Google Slides presentation consists of pages, each of which as some number\nof elements such as text boxes and images.\n\nThe Apps Script [Slides service](/apps-script/reference/slides)\nprovides several classes to represent organizational structures in Slides\n(such as [`Slide`](/apps-script/reference/slides/slide) and\n[`Shape`](/apps-script/reference/slides/shape)). You can use these classes to\nread and modify Slides data and behavior.\n\nTo learn more about how Slides presentations are organized, see\n[Structure of a presentation](/apps-script/guides/slides/presentations).\n\nTriggers\n--------\n\nApps Script [triggers](/workspace/add-ons/concepts/editor-triggers) let a script project\nexecute a specified function when certain conditions are met, such as when\na presentation is opened or when an add-on is installed.\n\nSee [add-on triggers](/workspace/add-ons/concepts/editor-triggers) for more information\non what triggers can be used with Slides add-ons and what restrictions apply\nto their use.\n\nFurther reading\n---------------\n\nThe following Apps Script guides may be helpful when developing Slides add-ons:\n\n- [Extending Google Slides](/apps-script/guides/slides)\n- [Structure of a presentation](/apps-script/guides/slides/presentations)\n- [Sizing and positioning page elements](/apps-script/guides/slides/moving-elements)\n- [Selecting items in a presentation](/apps-script/guides/slides/selecting)\n- [Editing and styling text](/apps-script/guides/slides/editing-styling)\n- [Lifecycle of an update](/apps-script/guides/slides/lifecycle)"]]