ภาพรวมของตัวอย่าง Apps Script
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ส่วนนี้มีข้อมูลเริ่มต้นอย่างรวดเร็ว โซลูชัน และ Codelab ของ Apps Script
คำจำกัดความของตัวอย่างแต่ละประเภทมีดังนี้
- เริ่มต้นอย่างรวดเร็ว
ตัวอย่างการเริ่มต้นอย่างรวดเร็วมีโค้ดตัวอย่างที่พิสูจน์แนวคิดอย่างรวดเร็วเพื่อช่วยให้คุณ
ทำงานกับ Apps Script ได้ภายในเวลาไม่ถึง 5 นาที คู่มือเริ่มต้นใช้งานพร้อมให้บริการสำหรับ
โปรเจ็กต์ Apps Script ส่วนใหญ่
ดูข้อมูลเริ่มต้นฉบับย่อที่จัดระเบียบตามประเภทโปรเจ็กต์ทางด้านซ้ายใต้ตัวอย่างตาม
ประเภทโปรเจ็กต์หรือ
ลองใช้การทำงานอัตโนมัติแบบง่ายๆ นี้ที่สร้าง
เอกสารใน Google และส่งลิงก์ไปยังเอกสารนั้นให้คุณทางอีเมล
- Solution
ตัวอย่างโซลูชันคือโปรเจ็กต์ Apps Script ที่ใช้งานได้อย่างเต็มรูปแบบ โซลูชันจะช่วยแก้ปัญหาทางธุรกิจที่สมจริงและแสดงให้เห็นวิธีทำให้เวิร์กโฟลว์ใน Google Workspace เป็นแบบอัตโนมัติ โดยส่วนใหญ่แล้ว คุณสามารถใช้โซลูชันได้โดยไม่ต้องแก้ไขหรือ
อัปเดตโค้ด
ดูโซลูชันที่จัดเรียงตามประเภทโปรเจ็กต์ทางด้านซ้ายในส่วนตัวอย่างตาม
ประเภทโปรเจ็กต์
หรือลองใช้
โซลูชันการผสานจดหมายยอดนิยมนี้
- Codelab
Codelab เป็นบทแนะนำทางเทคนิคแบบทีละขั้นตอนที่เน้นการปฏิบัติจริง โดยจะรวมคำอธิบาย ตัวอย่างโค้ดแนวทางปฏิบัติแนะนำที่ใช้งานได้ และแบบฝึกหัดการเขียนโค้ด Codelab มีให้บริการสำหรับผลิตภัณฑ์ส่วนใหญ่ของ Google สำหรับนักพัฒนาซอฟต์แวร์ และเผยแพร่ในแคตตาล็อก Codelab
ค้นหา Codelab เฉพาะของ Apps Script ทางด้านซ้ายในส่วน Codelab
นอกจากนี้ คุณยังดูตัวอย่าง Apps Script ได้ใน GitHub
คุณสามารถ Fork ที่เก็บเหล่านี้และใช้โค้ดเป็นข้อมูลอ้างอิงสำหรับโปรเจ็กต์ของคุณเองได้
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[[["\u003cp\u003eThis section offers Apps Script quickstarts, solutions, and codelabs to help you learn and implement Apps Script effectively.\u003c/p\u003e\n"],["\u003cp\u003eQuickstarts provide concise code samples for a fast introduction, while solutions offer complete projects addressing real-world scenarios.\u003c/p\u003e\n"],["\u003cp\u003eCodelabs guide you through hands-on tutorials with explanations and practical exercises for deeper learning.\u003c/p\u003e\n"],["\u003cp\u003eExplore samples organized by project type or delve into specific quickstarts, solutions, and codelabs for targeted learning experiences.\u003c/p\u003e\n"],["\u003cp\u003eAccess additional resources on the Google Workspace Developers YouTube channel and GitHub for further exploration and reference.\u003c/p\u003e\n"]]],["Apps Script offers three types of samples: Quickstarts, Solutions, and Codelabs. Quickstarts are brief code samples for rapid prototyping. Solutions are complete projects that solve real-world business issues and often require no code modification. Codelabs are step-by-step tutorials with explanations, sample code, and exercises. Samples are organized by project type and can also be found on GitHub for reference. Google also provides helpful tips and latest features on their Youtube channel.\n"],null,["# Apps Script samples overview\n\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| Got 5 minutes? Help us improve our Google Workspace documentation by taking a quick [online survey](https://forms.gle/XcqRP3PJiQv9ADuj9). |\n\nThis section provides Apps Script quickstarts, solutions, and codelabs.\nFollowing is a definition of each type of sample. \n\n|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Prefer to learn through video? The Google Workspace Developers channel offers videos about tips, tricks, and the latest features. [Subscribe now](https://www.youtube.com/channel/UCUcg6az6etU_gRtZVAhBXaw) |\n\n*Quickstart*\n\n: Quickstart samples offer quick, proof-of-concept code samples to get you\n working with Apps Script in under five minutes. Quickstarts are available for\n most Apps Script project types.\n\n: Find quickstarts organized by project type at the left under **Samples by\n project type** or\n [try this simple automation](/apps-script/quickstart/automation) that creates a\n Google Doc and emails you a link to it.\n\n*Solution*\n\n: Solution samples are fully functional Apps Script projects. Solutions address\n realistic business problems and showcase how you can automate workflows across\n Google Workspace. Often, you can implement solutions without needing to edit or\n update the code.\n\n: Find solutions organized by project type at the left under **Samples by\n project type**\n or [try this\n popular mail merge solution](/apps-script/samples/automations/mail-merge).\n\n*Codelab*\n\n: Codelabs are hands-on, step-by-step technical tutorials. They combine\n explanation, working best-practice sample code, and code exercises. Codelabs are\n available for most Google developer products and are published on the\n [Codelab catalogue](https://codelabs.developers.google.com/).\n\n: Find Apps Script-specific codelabs at the left under **Codelabs**.\n\nYou can also find Apps Script samples on [GitHub](https://github.com/googleworkspace/apps-script-samples).\nYou can fork these repositories and use the code as a reference for your own\nprojects."]]