ภาพรวมของ Google Apps Script
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Google Apps Script เป็นแพลตฟอร์มการพัฒนาแอปพลิเคชันในเวลารวดเร็ว ที่จะช่วยให้คุณสร้างแอปพลิเคชันทางธุรกิจที่ผสานรวมเข้ากับ Google Workspace ได้อย่างรวดเร็วและง่ายดาย คุณเขียนโค้ดใน JavaScript สมัยใหม่และมีสิทธิ์เข้าถึงไลบรารีในตัวสำหรับแอปพลิเคชัน Google Workspace ที่ชื่นชอบ เช่น Gmail, ปฏิทิน, ไดรฟ์ และอื่นๆ คุณไม่จำเป็นต้องติดตั้งอะไรเลย เรามีเครื่องมือแก้ไขโค้ดให้คุณในเบราว์เซอร์โดยตรง และระบบจะบันทึกสคริปต์ของคุณไว้ใน Google ไดรฟ์และเรียกใช้ในเซิร์ฟเวอร์ของ Google
หากคุณเพิ่งเริ่มใช้ JavaScript ทาง Codecademy มีหลักสูตร JavaScript หลายหลักสูตรให้เลือก
(โปรดทราบว่าหลักสูตรเหล่านี้ไม่ได้พัฒนาโดย Google และไม่ได้เกี่ยวข้องกับ Google
)
Apps Script ทำอะไรได้บ้าง
Apps Script มีความหลากหลาย คุณทำสิ่งต่างๆ ได้ เช่น
ลองใช้การเริ่มต้นอย่างรวดเร็ว
ลองใช้คู่มือเริ่มต้นฉบับใดฉบับหนึ่งต่อไปนี้เพื่อตั้งค่าและเรียกใช้โปรเจ็กต์ Apps Script ให้เสร็จภายในเวลาไม่ถึง 5 นาที
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[[["\u003cp\u003eGoogle Apps Script is a cloud-based platform for rapidly developing business applications that integrate with Google Workspace.\u003c/p\u003e\n"],["\u003cp\u003eIt uses JavaScript and provides built-in libraries for Google Workspace applications like Gmail, Calendar, and Drive.\u003c/p\u003e\n"],["\u003cp\u003eWith Apps Script, you can customize Google Workspace, automate tasks, interact with other Google services, and create web apps and add-ons.\u003c/p\u003e\n"],["\u003cp\u003eNo installation is needed as Apps Script provides a browser-based code editor and stores your scripts in Google Drive, executing them on Google's servers.\u003c/p\u003e\n"],["\u003cp\u003eExplore quickstarts for automation, custom functions, or building a Chat bot to quickly get started with Apps Script projects.\u003c/p\u003e\n"]]],[],null,["# Google Apps Script 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\nGoogle Apps Script is a rapid application development platform that makes it\nfast and easy to create business applications that integrate with\nGoogle Workspace. You\nwrite code in modern JavaScript and have access to built-in libraries for\nfavorite Google Workspace applications like Gmail,\nCalendar, Drive, and more. There's\nnothing to install---we give you a code editor right in your browser, and\nyour scripts are saved to Google Drive and run on Google's servers.\n\nIf you're new to JavaScript, Codecademy offers\n[a number of JavaScript courses](https://www.codecademy.com/catalog/language/javascript).\n(Note that these courses weren't developed by and aren't associated with\nGoogle.)\n\nWhat can Apps Script do?\n------------------------\n\nApps Script is versatile. Among other things, you can:\n\n- Add [custom menus](/apps-script/guides/menus), [dialogs, and sidebars](/apps-script/guides/dialogs) to Google Docs, Sheets, and Forms.\n- Write [custom functions](/apps-script/execution_custom_functions) and [macros](/apps-script/guides/sheets/macros) for Google Sheets.\n- Publish [web apps](/apps-script/execution_web_apps) --- either standalone or embedded in Google Sites.\n- Interact with other [Google services](/apps-script/guides/services), including AdSense, Analytics, Calendar, Drive, Gmail, and Maps.\n- Build lightweight [add-ons](/apps-script/add-ons/overview) and publish them to the Google Workspace Marketplace. If you anticipate building large scale add-ons, refer to [Build a Google Workspace add-on using HTTP endpoints](/workspace/add-ons/guides/alternate-runtimes).\n\nTry a quickstart\n----------------\n\nTry one of the following quickstarts to get an Apps Script project up and\nrunning in less than 5 minutes.\n\n- [Automation quickstart](/apps-script/quickstart/automation): Build and run a simple automation that creates a Google Doc and emails you a link to it.\n- [Custom function quickstart](/apps-script/quickstart/custom-functions): Create a custom function that calculates the sale price of discounted items.\n- [Google Chat bot quickstart](/apps-script/quickstart/chat-bot): Create a simple Chat bot that can be directly messaged and responds by echoing your messages.\n\n|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Want to see Apps Script in action? The Google Workspace Developers channel offers videos about tips, tricks, and the latest features. [Subscribe now](https://www.youtube.com/channel/UCUcg6az6etU_gRtZVAhBXaw) |"]]