Apps Script 範例總覽
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本節提供 Apps Script 快速入門導覽課程、解決方案和程式碼研究室。以下為每種樣本的定義。
- 快速入門導覽課程
快速入門範例提供快速的概念驗證程式碼範例,讓您在五分鐘內開始使用 Apps Script。快速入門導覽課程適用於大多數 Apps Script 專案類型。
在左側的 [Project by project type] (依專案類型範例) 下方,依據專案類型整理快速入門導覽課程,或嘗試這個簡單的自動化來建立 Google 文件,並透過電子郵件將相關連結傳送給您。
- 解決方案
解決方案範例是功能完整的 Apps Script 專案。解決方案能解決實際的業務問題,並說明如何自動化 Google Workspace 的工作流程。通常,您不必修改或更新程式碼,就能實作解決方案。
在左側的依專案類型查看範例,或嘗試這個熱門的郵件合併解決方案,依專案類型找出解決方案。
- 程式碼研究室
程式碼研究室提供實作技術的逐步教學課程。並結合說明、有效最佳做法的程式碼範例和程式碼練習。程式碼研究室適用於大多數 Google 開發人員產品,並且發布於 Codelab 目錄。
在左側的 [程式碼研究室] 下方,找到 Apps Script 專用的程式碼研究室。
此外,您也可以在 GitHub 找到 Apps Script 範例。您可以分支這些存放區,並使用程式碼做為專案專案的參考。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-02-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]