Apps Script 範例總覽
本節提供 Apps Script 快速入門、解決方案和程式碼研究室。以下是各類型樣本的定義。
- 快速入門導覽課程
快速入門範例提供快速的概念驗證程式碼範例,讓您在五分鐘內開始使用 Apps Script。快速入門適用於大多數 Apps Script 專案類型。
在左側的「按專案類型劃分的範例」下方,找出按專案類型分類的快速上手教學,或是試試這個簡單的自動化動作,建立 Google 文件並傳送連結給您。
- 解決方案
解決方案範例是功能完整的 Apps Script 專案。解決方案可解決實際的業務問題,並展示如何在 Google Workspace 中自動化工作流程。通常您可以實作解決方案,而無須編輯或更新程式碼。
在左側的「按專案類型劃分的範例」下方,找出依專案類型劃分的解決方案,或嘗試這個熱門的郵件合併解決方案。
- 程式碼研究室
程式碼研究室是逐步操作的技術教學課程。這些課程結合了說明、實際的最佳做法範例程式碼和程式碼練習。大部分 Google 開發人員產品都提供程式碼研究室,且已發布至 程式碼研究室目錄。
在左側的「Codelab」下方,找出 Apps Script 專用的程式碼研究室。
您也可以在 GitHub 上找到 Apps Script 範例。您可以分支這些存放區,並使用程式碼做為專案的參考依據。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["This section offers Apps Script quickstarts, solutions, and codelabs to help you learn and implement Apps Script effectively."],["Quickstarts provide concise code samples for a fast introduction, while solutions offer complete projects addressing real-world scenarios."],["Codelabs guide you through hands-on tutorials with explanations and practical exercises for deeper learning."],["Explore samples organized by project type or delve into specific quickstarts, solutions, and codelabs for targeted learning experiences."],["Access additional resources on the Google Workspace Developers YouTube channel and GitHub for further exploration and reference."]]],["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"]]