Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Google Apps Script Complete Course New IDE 100+ Examples

Khóa học toàn diện về Google Apps Script với IDE mới - Hơn 100 ví dụ thực tế

Khóa học toàn diện về Google Apps Script với IDE mới - Hơn 100 ví dụ thực tế

Phiên bản mới Google Apps Script - Tạo hàm tùy chỉnh trong G Suite: Tài liệu, Bảng tính, Gmail, Drive, Lịch và hơn thế

4.4
(672 đánh giá)
6,605 học viên
Giảng viên
Laurence Svekis
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
79.000đ 349.000đ -77%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
34.0 giờ video
355 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 07/06/2026

Bạn sẽ học được gì

Tạo hàm tùy chỉnh trong các ứng dụng GSuite: Tài liệu, Bảng tính, Gmail, Trình chiếu
Khám phá cách viết mã Google Apps Script trong ứng dụng G Suite
Tạo Google Script để tăng sức mạnh cho Google Apps
Tạo hàm tùy chỉnh và macro cho Google Sheets
Thêm menu, hộp thoại và thanh bên tùy chỉnh vào Google Docs, Sheets và Forms
Xuất bản ứng dụng web - độc lập hoặc nhúng vào Google Sites
Tương tác với các dịch vụ Google khác
Xây dựng tiện ích bổ sung để mở rộng Google Docs, Sheets, Slides và Forms

Yêu cầu

Kiến thức về JavaScript cơ bản và HTML, CSS
Có kết nối Internet
Có tài khoản Google
Hiểu biết cơ bản về phát triển web

Đối tượng phù hợp

Dành cho bất kỳ ai muốn tạo ra những điều tuyệt vời bằng Google Scripts
Lập trình viên JavaScript muốn nâng cấp bộ sản phẩm Google
Nhà phát triển web muốn tích hợp chức năng Google Script
Nhà phát triển ứng dụng muốn khai thác sức mạnh của Google G Suite
Dành cho nhà phát triển App Script/Google Script

Nội dung khóa học

17 phần • 355 bài giảng
1 Giới thiệu Google Apps Script: Cách viết mã và khám phá khóa học
2 Hướng dẫn mã nguồn khóa học - Tải PDF
3 Cách bắt đầu với Apps Script - Làm quen với Apps Script
4 Cách viết mã Apps Script - Tổng quan về Trình soạn thảo Apps Script và tạo mã
5 Mã nguồn: Tạo Tài liệu bằng Google Apps Script
6 Cách sử dụng Trình soạn thảo Apps Script - Viết mã trong Apps Script Editor
7 Cách cập nhật cài đặt dự án - Cập nhật cài đặt trong Trình soạn thảo
8 Cách triển khai Ứng dụng Web - Tạo webapp riêng với URL
9 Mã nguồn: Tạo WebApp
1 Giới thiệu JavaScript cơ bản - JavaScript hiện đại và Apps Script
2 Cách sử dụng Biến và Hàm JavaScript trong Google Apps Script
3 Ví dụ mã JavaScript về Biến và Hàm
4 Cách sử dụng Mảng và Đối tượng JavaScript trong Google Apps Script
5 Ví dụ mã JavaScript về Mảng và Đối tượng - Kiến thức cơ bản
6 Kiến thức cơ bản về Vòng lặp và Điều kiện trong JavaScript
7 Ví dụ mã JavaScript: Vòng lặp forEach với Mảng và Đối tượng
8 Cách áp dụng Phương thức tích hợp JavaScript: Math, Date trong Google Apps Script
9 Ví dụ mã JavaScript: Math, JSON.parse, JSON.stringify, Date Methods
1 Giới thiệu Dịch vụ Bảng tính Google với Apps Script
2 Tạo macro cho Sheets - Viết mã Macro trong Bảng tính
3 Chọn ô Bảng tính - Cập nhật nội dung và Màu nền - Mã nguồn
4 Cách tùy chỉnh Dịch vụ Bảng tính - Giới thiệu lớp SpreadsheetApp
5 Lấy Bảng tính đang hoạt động - Ví dụ mã SpreadsheetApp.getActive
6 Cách thêm hàm tùy chỉnh vào Google Sheets - Apps Script cho Bảng tính
7 Chọn toàn bộ nội dung Sheet đang hoạt động - Xuất giá trị hàng vào log
8 Cách cập nhật Sheets - Lựa chọn Sheets và Bảng tính
9 Ví dụ mã độc lập: Chọn Sheets và Bảng tính
10 Cách tạo Sheets mới với Apps Script - Tạo Sheet mới
11 Thêm Sheet mới vào Bảng tính - Kiểm tra tồn tại theo Tên - Mã nguồn
12 Cách thao tác và cập nhật nội dung sheet - Tương tác với Sheets
13 Lấy ô - Chọn phạm vi bằng ký hiệu A1 - Ví dụ mã nguồn
14 Cách lấy phạm vi để cập nhật nội dung trong sheets - Chọn Range từ Sheets
15 Chọn Range - Cập nhật kiểu và giá trị ô - Ví dụ mã CODE
16 Cách cập nhật nội dung sheet - Đặt giá trị vào ô Sheet - Gán giá trị cho hàng
17 Đặt giá trị trong phạm vi ô - Ví dụ mã nguồn getRange và SetValues
18 Cách xử lý sự cố - Tùy chọn Bảng điều khiển gỡ lỗi trong Google Apps Script
19 Cách truy cập dữ liệu trong GSuite Sheets bằng mã - Dữ liệu Sheet: Cột và Hàng
20 Lấy hàng cuối và cột cuối của dữ liệu Sheet - Ví dụ mã nguồn
21 Cách lấy script liên kết với sheet - Sheet đang hoạt động và Lựa chọn
22 Đặt phạm vi hoạt động và kích thước Range - Lựa chọn - Mã nguồn
23 Thử thách lập trình - Ứng dụng nhỏ sao chép giá trị vào Sheet mới
24 Sao chép và dán giá trị vào Sheet mới - Ví dụ mã tạo Sheet
25 Cách thêm menu vào G Suite Sheets - Đối tượng Menu và UI của Sheet
26 Thêm tùy chọn vào menu UI - Ví dụ phương thức AddItem, GetUI và Addto UI
27 Thử thách lập trình - Tạo Logger tùy chỉnh trong Sheet - Theo dõi tin nhắn trong log
28 Bài tập Logger tùy chỉnh - Ví dụ mã Apps Script - Mã nguồn
29 Cách tạo cảnh báo trong sheets - Cảnh báo UI Bảng tính và Lời nhắc nhập liệu
30 Lớp UI - Lời nhắc và Cảnh báo - Thiết lập nút và nhập liệu người dùng - Ví dụ mã
31 Cách thêm cửa sổ popup modal trong sheets với Apps Script - UI Modal Bảng tính
32 Tạo Hộp thoại Modal - HtmlService - Xuất HTML và Ví dụ xuất tệp mẫu
33 Cách hiển thị thanh bên - Hiển thị mã HTML Sidebar từ tệp mẫu và mã HTML
34 SideBar - Lưu giá trị trong Thuộc tính Tài liệu - Ví dụ mã lưu trữ
35 Cách thêm hàng vào sheets - AppendRow - Thêm hàng vào Sheet
36 Chèn hàng trước và sau - Append Row - Ví dụ mã nguồn Apps Script
37 Thử thách lập trình - Tạo hàm Prepend tùy chỉnh - Bài tập Prepend Row
38 Apps Script - Tạo hàm Prepend Row tùy chỉnh - Mã nguồn
39 Công thức tùy chỉnh Google Sheets - Công thức ô và Hàm tùy chỉnh
40 Chạy Hàm tùy chỉnh và đặt công thức trong Bảng tính - Ví dụ mã
41 Cách thêm ghi chú và bình luận vào ô sheets - Ghi chú và Bình luận ô
42 Chọn ô đang hoạt động và thêm bình luận - Ví dụ mã nguồn
43 Tổng quan Google Apps Script SpreadsheetApp - Dịch vụ Sheet
1 Giới thiệu Dịch vụ Google Docs - Lớp DocumentApp với Apps Script
2 Mã Google Apps Script cho Docs - Giới thiệu lớp DocumentApp
3 Cách tạo Script độc lập - Thêm vào Tài liệu
4 Tạo Tài liệu mới - Chọn đối tượng Doc - appendParagraph - Ví dụ mã Apps Script
5 Cách lấy nội dung Tài liệu - Thân tài liệu bằng mã
6 Lấy nội dung văn bản từ thân Doc - Dịch sang tiếng Tây Ban Nha - Ví dụ mã LanguageApp
7 Cách truy cập nội dung đoạn văn - DocumentApp Paragraphs
8 DocumentApp Paragraphs - Đặt nội dung và thao tác văn bản - Ví dụ mã
9 Cách tương tác với Đoạn văn - DocumentApp Paragraphs 2
10 Lấy phần tử con của vùng chứa - getText và asText - Ví dụ mã nguồn
11 Cách đặt cỡ chữ và lấy phần tử thân tài liệu
12 Cập nhật phông chữ và màu nền của văn bản đã chọn - Ví dụ mã
13 Cách chọn phần tử - Phần tử thân tài liệu dưới dạng văn bản
14 Chọn văn bản từ thân tài liệu - Áp dụng đậm, màu sắc và cỡ chữ - Ví dụ với Doc
15 Tương tác Docs App với thuộc tính kiểu
16 Áp dụng kiểu cho nội dung trong Doc - Ví dụ mã Apps Script Doc
17 Cách thay thế văn bản trong thân tài liệu
18 Tìm và thay thế văn bản trong Doc - Làm nổi bật văn bản đã chọn - Ví dụ mã
19 Cách lấy loại tài liệu - Liệt kê phần tử loại
20 Docs - Tạo danh sách bằng List Id - Mã nguồn Google Apps Script
21 Cách tạo bản sao tài liệu - Sao chép Doc - Xóa Doc
22 Sao chép văn bản từ Doc này sang Doc khác - Mã nguồn
23 Cách thêm bảng mới - Tạo bảng
24 DocumentApp - Tạo bảng - Chèn dữ liệu Sheet dưới dạng bảng - Cập nhật kiểu bảng
25 Cách thêm mục menu - DocumentApp UI Menu
26 UI Alert và UI Prompt - Ví dụ mã Google Script Doc App
27 Thử thách lập trình - Thêm văn bản trong doc bằng nút menu
28 Thêm mục menu để chèn văn bản Lorem Ipsum tại vị trí con trỏ - Ví dụ mã
29 Thử thách lập trình - Tìm và làm nổi bật văn bản từ nội dung Doc
30 Tìm văn bản và làm nổi bật từ lời nhắc nhập liệu người dùng - Ví dụ mã Doc Google Script
31 Cách thêm hộp thoại modal vào docs - UI showModalDialog
32 Popup Modal Doc - Nội dung HTML - Ví dụ Google Apps Script HTMLService
33 Cách thêm menu UI hiển thị thanh bên - UI Show Sidebar Menu
34 Đưa nội dung tệp HTML vào UI Sidebar - Ví dụ Google Apps Script HTML Service
35 Thử thách lập trình - Chèn hình ảnh vào nội dung Doc - Chèn hình ảnh
36 Chèn hình ảnh tại vị trí con trỏ - Ví dụ UrlFetchApp - Google Apps Script
37 Tổng quan DocumentApp
1 Giới thiệu Google Drive sử dụng Dịch vụ và Lớp DriveApp với Apps Script
2 Giới thiệu Dịch vụ Apps Script DriveApp - getFiles
3 Cách lấy tệp trong thư mục cụ thể bằng Dịch vụ DriveApp - Google Apps Script
4 Tìm kiếm tệp trong thư mục cụ thể - Ví dụ mã Google Apps Script
5 Cách tạo tệp trong Google Drive bằng apps script - DriveApp Tạo tệp
6 Tạo tệp - Tạo thư mục trong thư mục - Ví dụ mã Apps Script
7 Lấy thông tin và chi tiết thư mục Google Drive bằng Apps script
8 Lấy giới hạn Drive và dữ liệu đã sử dụng - Ví dụ mã Apps Script
9 Cách gửi tệp vào Thùng rác bằng Google Apps Script
10 Gửi tệp vào thùng rác - Khôi phục và di chuyển tệp ra khỏi thùng rác - Ví dụ Apps Script
11 Dự án ứng dụng nhỏ - Thêm và Xóa người chỉnh sửa
12 Thiết lập quyền truy cập tệp và thư mục bằng Script - AddEditors
13 Cách đặt tệp trong thư mục - Thiết lập tệp và thư mục
14 Lấy tệp và tạo PDF từ tệp - getAs tạo blob - Ví dụ mã
15 Thử thách Dự ứng dụng nhỏ - Tạo ứng dụng liệt kê chi tiết thư mục vào Sheet
16 Liệt kê chi tiết tệp vào Bảng tính mới - Sử dụng mã Apps Script
17 Dự án ứng dụng nhỏ - Di chuyển tệp từ thư mục này sang thư mục khác
18 Di chuyển tất cả tệp trong thư mục sang thư mục mới - Tạo Sheet và di chuyển vào thư mục
19 Dự án ứng dụng nhỏ - Tìm kiếm tệp và trả về đối tượng tệp
20 Tìm kiếm Drive cho tệp - Trả về thông tin đối tượng chi tiết tệp - Mã Apps Script
21 Dự án ứng dụng nhỏ Webapp - URL thư mục trong webapp từ tìm kiếm
22 Thử thách Dự án lập trình - Bảng tính theo dõi tệp GDrive từ tìm kiếm
23 Tổng quan lớp DriveApp Google Apps Script
1 Giới thiệu Gmail và Dịch vụ Thư - Gửi email bằng Google Apps Script
2 Cách gửi email - Gửi email với Apps Script
3 Gửi email bằng Apps Script - Ví dụ mã
4 Gửi email trong Dịch vụ Thư - sendEmail
5 Gửi email MailService - Đính kèm tệp - Tùy chọn email HTML - Dịch vụ MailApp
6 Cách tạo email nháp trong Dịch vụ GmailApp
7 Gửi và tạo email nháp với Dịch vụ GmailApp - Ví dụ mã Apps Script
8 Cách lấy chuỗi hội thoại trong Gmail bằng Dịch vụ GmailApp - Chuỗi hộp thư đến
9 Gửi trả lời - Kiểm tra chuỗi hộp thư đến đã đọc - Lấy tin nhắn - Dịch vụ Gmail Apps Script
10 Cách gửi email bằng tệp mẫu - Gửi email từ mẫu
11 Tạo email từ tệp mẫu HTML - Thay thế và cập nhật nội dung - Apps Script
12 Dự án ứng dụng nhỏ - Sử dụng Doc làm mẫu email
13 Tệp HTML làm mẫ
14 Coding App MiniProject how to use Spreadsheet data list to Send Emails
15 Project Send Emails from Spreadsheet List MailService Code Example Apps Script
16 How to add stars to emails Star Messages Gmail Classes Åpps Script
17 Check if text in message subject star and unstar messages Apps Script Example
18 How to setup Message Labels using Google Apps Script
19 Add Labels Create Labels remove Labels from Threads GmailApp Example Code
20 How to access Chat Threads GmailApp class using Apps Script
21 Get GmailApp Chat Threads Code Example Apps Script
22 How to find messages - apps script GmailApp Search.
23 GmailApp Search emails search operators for GmailApp Search Code Example
24 Coding App MiniProject Get attachments GmailApp Attachment Class
25 GmailApp Attachment Class Get Attachments Copy Attachment to Drive Code Example
26 Google Apps Script GmailApp Overview
27 GmailApp Classes Examples Draft Attachment Message Thread and Label Classes
1 Introduction to Calendar Apps Services with Apps Script Course Section
2 Introduction to Class CalendarApp Access Calendar how to use it
3 Select all Calendars get calendar details
4 How to get calendar owner and settings Get Owned Create Calendars
5 Selecting Calendars using CalendarApp Class Code example
6 How to update Google Calendar Name add Description
7 Delete create and hide calendar Update and set New Name Calendar
8 How to access the Calendar Event Class using Google Apps Script
9 Select and Update Calendar Events CalendarApp Event Class Examples
10 How to create Events CalendarApp within Google Calendar with Apps Script
11 create Events CalendarApp within Google Calendar with Apps Script lesson 2
12 Create Events
13 How to delete and remove Calendar Events with apps script
14 Delete Calendar Events Calendar Event Class Code example
15 How to add Google Calendar event guests - Calendar Event Guest.
16 Add Remove guests from Event get Guest Details EventGuest Class Code Example
17 Coding App MiniProject Spreadsheet Calendar Lister - CalendarApp Spreadsheet
18 Code Example for Spreadsheet to list all events in Calendar Mini Project App
1 Introduction to creating Slides using Google Slide Service with Apps Script
2 How to use Slides Service Class SlidesApp with Google Apps Script
3 Create a new Slide file - open slides by ID source Code example
4 How to update Google Slides with code Slides Bound Script Updates
5 Presentation Class - appendSlide add Editor set Slide Background
6 How to select slides within Google Slides and get Slides Update them
7 Update textStyle Background Color Get TextRanges Get Page Elements Get Slides
8 Cách thêm tùy chọn menu tùy chỉnh cho người dùng Slides trong giao diện SlideApp
9 Thêm nút menu giao diện để nhân bản Slide từ vùng chọn hiện tại - Ví dụ mã nguồn
10 Dự án Mini Ứng dụng: Xóa một slide trong bản trình bày Google Slides
11 Chèn ảnh từ Drive bằng nút giao diện - Xóa và loại bỏ slide đã chọn - Mã nguồn
12 Cách thêm văn bản vào slide từ menu Google Slides với TextRange
13 Ví dụ mã: Thêm hình dạng bằng TextRange, cập nhật và lấy các đoạn văn bản con
14 Cách cập nhật và thay đổi bố cục Google Slides với SlideApp Layouts
15 Mã nguồn: Liệt kê bố cục, cập nhật Master, tìm văn bản trong hình dạng và xóa hình dạng
16 Dự án Mini Ứng dụng: Tạo bản trình bày từ Google Sheets
17 Dự án Mini Ứng dụng: Tạo bản trình bày từ Google Sheets (Phần 2)
18 Dự án: Chuyển đổi dữ liệu Sheets thành bản trình bày Slides
19 Tổng quan lớp SlideApp - Google Slides với Apps Script
20 Mã nguồn: Tùy chọn và phương thức của lớp SlidesApp (Dịch vụ Slides)
1 Giới thiệu phần khóa học về Dịch vụ Google Forms với Apps Script
2 Cách tạo biểu mẫu bằng Apps Script với Dịch vụ Forms
3 Ví dụ mã: Tạo biểu mẫu mới, chọn biểu mẫu có sẵn, thêm mục
4 Cách thêm mục vào biểu mẫu Google Form bằng Google Apps Script với FormApp
5 Ví dụ mã tạo Google Form bằng Apps Script - Thêm các mục vào biểu mẫu
6 Cách lấy mục biểu mẫu và cập nhật nội dung Google Form bằng Apps Script
7 Ví dụ mã: Cập nhật mục biểu mẫu có sẵn với giá trị mới và đặt thành bắt buộc
8 Cách thiết lập phản hồi trong Google Form
9 Ví dụ mã: Đặt biểu mẫu thành bài kiểm tra, cập nhật và thêm phản hồi vào lựa chọn
10 Cách thiết lập phản hồi từ Google Form với lớp FormResponse
11 Ví dụ mã: Lấy dữ liệu phản hồi biểu mẫu vào Google Script
12 Dự án Mini Ứng dụng: Đưa FormResponses vào Sheet - Lấy phản hồi và thêm dữ liệu Sheet
13 Dự án: Lấy phản hồi biểu mẫu và thêm vào bảng tính
14 Dự án Mini Ứng dụng: Tạo bài kiểm tra Toán trong Google Forms bằng Apps Script
15 Dự án: Cách tạo bộ tạo bài kiểm tra Toán trong Google Forms bằng Apps Script
16 Tổng quan về cách sử dụng Google Forms với mã lệnh - FormApp
17 Ví dụ: Đặt thanh tiến trình, xáo trộn câu hỏi, thêm mục thang đo
1 Phần ví dụ về các lớp Google Workspace phổ biến trong Apps Script
2 Cách sử dụng lớp ContactsApp trong Dịch vụ Google bằng Apps Script
3 Dịch vụ Danh bạ: Thêm liên hệ, lấy và cập nhật thông tin với lớp ContactApp
4 Cách sử dụng Dịch vụ LanguageApp trong Google Apps Script
5 Ví dụ mã: Dịch văn bản sang các ngôn ngữ khác nhau với Language App
6 Cách tạo bản đồ bằng Dịch vụ Maps trong Google Apps Script
7 Ví dụ về Dịch vụ Maps - Thêm bản đồ vào Google Doc
8 Ví dụ mã về Dịch vụ Cơ bản trong Google Apps Script
9 Ví dụ mã: Lấy thông tin người dùng, gửi nhật ký qua email, tạo Doc từ chi tiết nhật ký
10 Ví dụ mã sử dụng Content Service với Apps Script
11 Xuất nội dung bằng ContentService - Đặt file để tải xuống từ URL
12 Ví dụ mã sử dụng HTML Service trong Google Apps Script
13 HTMLService để gửi dữ liệu từ phía máy khách đến phía máy chủ
14 Gửi dữ liệu từ phía máy khách về Google Apps Script với lớp google.script.host
15 Dữ liệu Spreadsheet đến Máy khách - Lấy tham số e và gửi đến Máy khách
16 Dịch vụ máy chủ lưu trữ Google cho WebApp phía Máy khách
17 Ví dụ: Nhập nội dung từ Máy khách vào Dữ liệu Spreadsheet phía Máy chủ
18 Cách lưu trữ giá trị trong Google Apps Script với lớp PropertiesService
19 Ví dụ mã: Lưu trữ giá trị trong tài liệu, tập lệnh và người dùng
20 Tạo yêu cầu đến điểm cuối API http bằng lớp UrlFetchApp
21 Kết nối với API dữ liệu web, sử dụng dữ liệu trong tập lệnh, tái tạo site Google trong WebApp
1 Ví dụ mã Apps Script phổ biến và Dự án Mini
2 Dự án Mini Ứng dụng: Tạo biểu đồ trong Google Spreadsheets - Thiết lập Sheets
3 Dự án Mini Ứng dụng: Tạo biểu đồ trong Google Spreadsheets - Thiết lập Sheets 2
4 Mã: Tạo bảng tính, điền dữ liệu - Thêm biểu đồ vào Sheet từ dữ liệu
5 Dự án Mini Ứng dụng: Thêm biểu đồ vào Slides - Tạo bản trình bày
6 Ví dụ mã: Tạo bản trình bày Slides từ biểu đồ trong Spreadsheet
7 Dự án Mini Ứng dụng: Tạo PDF trong Drive và gửi email dưới dạng tệp đính kèm
8 Ví dụ mã tạo PDF từ file và gửi dưới dạng tệp đính kèm email
9 Ví dụ mã: Thêm mục menu cho chức năng nâng cao trong giao diện Google Docs
10 Ví dụ mã: Menu giao diện Docs và Đối tượng sự kiện onOpen (kích hoạt đơn giản)
11 Nút menu giao diện Sheets cho tương tác nâng cao
12 Tìm hiểu về Kích hoạt đơn giản trong Sheets: onEdit và onChange
13 Ví dụ mã: Menu giao diện Sheets, onEdit và onSelectionChange
14 Tạo webapp với onGet, onPost - Kích hoạt đơn giản với Apps Script
15 Phương thức doGet: Tạo webapp đơn giản và trả về chi tiết đối tượng sự kiện
16 Thiết lập tự động hóa: Kích hoạt chạy mã theo sự kiện và khoảng thời gian định kỳ
17 Ví dụ mã: Sử dụng mã để thiết lập Kích hoạt ứng dụng - Tự động hóa Apps Script
1 Giới thiệu phần Ví dụ mã và Dự án Mini
2 Cách tạo WebApp nhiều trang - Giới thiệu
3 Mẫu WebApp nhiều trang
4 Mẫu WebApp nhiều trang 2
5 Mẫu WebApp nhiều trang 3 với apps script
6 Ví dụ mã: WebApp nhiều trang với Menu động và Include Files
7 Giới thiệu hàm tùy chỉnh cho tài liệu tương tác - Giao diện tài liệu
8 Mẫu File giao diện tài liệu
9 Xây dựng tương tác phía Máy khách
10 Tương tác giữa Docs và Máy khách
11 Dự án tương tác với Docs
12 Tùy chọn Menu tương tác động với Docs - Gửi và nhận dữ liệu từ máy khách
13 Thiết lập dự án Apps Script: WebApp bài kiểm tra tùy chỉnh từ Sheets
14 Thiết lập WebApp bài kiểm tra tùy chỉnh từ Sheets
15 Web App: Lấy dữ liệu Sheet đến Máy khách bằng Apps Script
16 Thêm trường nhập liệu, nút radio - Thêm câu hỏi với RadioButtons
17 Cách gửi biểu mẫu đến Sheets và lưu phản hồi vào các cột
18 Cách cập nhật và thêm dữ liệu vào Sheet với Google Apps Script
19 Ví dụ mã: WebApp bài kiểm tra động tùy chỉnh với dữ liệu Sheets và kết quả
1 Tạo và triển khai Tiện ích bổ sung Google Apps Script cho Dịch vụ Google
2 Xuất dữ liệu Sheet dưới dạng JSON API - Dữ liệu Sheets làm điểm cuối WebApp
3 Tạo điểm cuối API với dữ liệu Sheets - Kết nối bằng phương thức JavaScript Fetch
4 Thiết lập triển khai mã apps script dưới dạng tiện ích bổ sung - File manifest JSON và ID dự án
5 Ví dụ manifest JSON appscript cho Tiện ích bổ sung Google Apps Script
6 Thiết lập tiện ích bổ sung: Trang chủ và giao diện cho Docs
7 Lấy dữ liệu JSON vào Doc bằng URL Fetch Content
8 Tổng quan mã hoàn chỉnh cho Tiện ích bổ sung
9 Ví dụ mã: Tiện ích bổ sung Docs - Thêm trích dẫn vào Docs
1 Lớp Table trong DocumentApp - Thêm và cập nhật hàng bảng
2 Ví dụ mã: Thêm hàng bảng bằng Apps Script
3 Ví dụ mã: Sao chép tài liệu theo phần tử
4 Mã nguồn: Sao chép phần tử Doc sang thân tài liệu mục tiêu
5 Cách gửi email từ Google Sheets sử dụng HTML làm mẫu (Phần 1)
6 Cách gửi email từ Google Sheets sử dụng HTML làm mẫu (Phần 2)
7 Mã nguồn: Cách gửi email từ Google Sheets sử dụng HTML làm mẫu
8 Chuyển dữ liệu Sheets sang trang web (Phần 1)
9 Spreadsheet dưới dạng đối tượng - Lọc dữ liệu (Phần 2)
10 Tùy chỉnh điểm cuối WebApp dữ liệu từ Google Apps Script Sheet
11 Điểm cuối API tùy chỉnh từ Google Sheets cho ứng dụng web
12 Nhãn Gmail, kích hoạt và bộ lọc với từ khóa chủ đề
13 Mã nguồn ví dụ về lớp GmailApp: nhãn, hộp thư đến, tin nhắn và chuỗi hội thoại
14 Lớp Spreadsheet App: Chọn ô và cập nhật thuộc tính ô
15 Cập nhật thuộc tính ô - Kiểm tra giá trị và dữ liệu trong ô
16 Tạo WebApp với dữ liệu
17 Mã nguồn: Tạo WebApp với dữ liệu
18 Công cụ tải lên ảnh và PDF từ Google Web App lên thư mục GDrive
19 Mã nguồn ví dụ apps script: Công cụ tải lên ảnh và PDF
20 Cách xóa hàng dữ liệu trùng lặp từ bảng tính bằng Apps Script
21 Mã nguồn: Xóa hàng dữ liệu trùng lặp từ bảng tính bằng Apps Script
22 Cách tạo PDF từ bản trình bày Google Slides
23 Mã nguồn: Tạo PDF từ file bằng SlideApp - Ví dụ mã
1 Ví dụ về Menu giao diện, Alert và Prompt
2 Đoạn mã: Cửa sổ bật lên UI, Alert và Prompt trong Google Apps Script
3 Giao diện Apps Script: sideDialog - Mã hóa phía Máy chủ và Máy khách
4 Ví dụ mã: sideDialog trong Apps Script - Mã hóa phía Máy chủ và Máy khách
5 Thêm nút để chèn Ngày trong giao diện Google Docs
6 Mã nguồn: Chèn ngày vào Doc khi nhấn nút giao diện
7 Thêm nút để chèn ảnh từ Drive hoặc Web vào Google Docs
8 Mã nguồn: Chèn ảnh từ web và drive vào docs
9 Ví dụ mã: Tạo file, di chuyển file, thư mục và ảnh
10 File và ảnh trong Google Apps Script
11 Tạo PDF từ mẫu Doc bằng Apps Script - Thay thế từ dữ liệu Sheets
12 Ví dụ ứng dụng: Đếm từ trong Doc bằng Apps Script
13 Cách lấy mã HTML từ Google Doc để dùng trong nội dung email htmlBody và webapp
14 Tự động phản hồi Google Form và Logger tùy chỉnh
15 Dữ liệu Google Sheet dưới dạng bảng trong docs
16 Hướng dẫn mã ví dụ Google Apps Script
1 Hướng dẫn mã hóa Apps Script và ví dụ mã nguồn bài học
2 Cách sao chép danh sách gạch đầu dòng
3 Ví dụ bài học Apps Script
4 Truy cập và sửa đổi dữ liệu trong Google Sheet
5 Gửi tin nhắn email từ dữ liệu Sheets
6 Tạo mục menu sắp xếp tùy chỉnh
7 Kích hoạt thông báo khi gửi biểu mẫu
8 Thêm công thức tùy chỉnh trong Sheets
9 Gửi email nhắc nhở từ dữ liệu sheets
10 Menu tùy chỉnh trong Google Sheets
11 Cách tạo thư mục mới
12 Gửi email khi biểu mẫu được gửi kèm dữ liệu từ biểu mẫu
13 Hàm menu tùy chỉnh trong sheets
14 Chèn ngày tự động khi chỉnh sửa trong sheets
15 Hướng dẫn đoạn mã Google Apps Script
16 Tạo sự kiện Google Calendar
17 Sao chép thư mục Google Drive
18 Thêm menu tùy chỉnh vào Sheets
19 Sử dụng API Dịch
20 Tạo bản trình bày Slides
21 Trích xuất dữ liệu từ biểu mẫu
22 Chuyển đổi Sheet sang PDF
23 Dữ liệu từ Sheets dưới dạng bảng trong email
24 Danh sách file Drive vào Sheets
25 Gửi email từ Sheets
26 Truy cập Google Sheets
27 Truy cập và sửa đổi Google Docs
28 Tạo Google Forms
29 Tạo Google Slides
30 Truy cập và sửa đổi Google Forms
31 Google Sheets làm cơ sở dữ liệu
32 Gửi email có tệp đính k
33 Send Email Automatically
34 Generate Google Docs
35 Create Google Forms
36 Automate Google Calendar
37 Add Data to Google Sheets
1 Google Apps Script Projects
2 Set Background Color UI menu
3 Clear Cells of Content
4 Send Updates when Sheet is edited
5 Set Current Date and Time
6 Table of contents in Docs with Code
7 Attendance tracking exercise
8 Creating folders with script apps script code exercise
9 Learning Guides and resources PDF guides
10 100 Apps Script Questions

Giới thiệu khóa học

New IDE - More functions - Exciting new Course!!!!

Google Apps Script is a rapid application development platform that makes it fast and easy to create business applications that integrate with Google Workspace.

  • Code is in modern JavaScript

  • Access to built in libraries that can really power up your Google Workspace App

  • Connect Google Workspace applications like Gmail, Calendar, Drive, and more.

  • Interact with other Google services Calendar, Drive, Gmail, and Maps.

  • Nothing to install - code editor right in your browser

  • Your scripts run on Google's servers

  • Extending Google Workspace with Add-ons

  • Rapid application development platform based on JavaScript that lets you create business and productivity applications quickly and easily.

Loaded with Google Apps Script Code Examples - 100s of code snippets to do amazing things with Google G Suite - Sample projects to create advanced functionality with Google Apps - Google Services

  • Add custom menus, dialogs, and sidebars to Google Docs, Sheets, and Forms.

  • Publish web apps — either standalone or embedded in Google Sites.

  • Create customized user interfaces that are directly integrated into Google Workspace applications.

  • Boost workflow efficiency when working with Google Workspace by automating or streamlining tasks

  • Connect to non-Google services within Google Workspace applications, allowing you to retrieve or upload data from those services into and from Google Workspace

Explore what you can create and how you can release functionality within your G Suite apps - Help with productivity connect Google Services together to DO EVEN MORE!!!!  Based on JavaScript ES6+ now packs more power with an easier to use editor - making coding fun.   

Google apps script works the way you expect and need it to work - its by far my favorite coding language - if you've never used Apps Script before then this is something that you must try.   Once you start writing code with apps script it will change everything. 

Google Workspace services are services that let you access the data of Google Workspace products such as Drive, Gmail, Calendar, Docs, Sheets, and others. These services are separate from APIs created for those products; in general, Google Workspace services are easier to use than Google Workspace APIs, but are optimized for only the most common use cases.

Taught by a Google Developer Expert recognized GDE - with over 20 years of Coding Experience specializing in Google Apps Script - ready to help you learn more about creating amazing things with Google Apps Script.

Introduction to Getting Started with Google Apps Script

  • Standalone vs Bound Scripts

  • Script editor and Apps Script Dashboard

  • Writing Code creating Apps Script create a Doc with Script

  • What's New with Apps Script Editor

  • Creating and Deploying a Webapp doGet() - HTML output in WebApp URL

  • Deployment of webapp Dev version and Exec Version.

Google Apps Script Sheets Spreadsheet Service Class SpreadsheetApp

This service allows scripts to create, access, and modify Google Sheets files. Access and create Google Sheets files.

  • How Macros work - generating Google Apps Script with Macro Recordings in Sheets

  • SpreadsheetApp Class - Selecting Spreadsheet to manipulate with Code

  • SpreadsheetApp methods SpreadsheetApp.getActiveSpreadsheet()

  • Selecting Sheets within a Spreadsheet - Spreadsheet object methods - Get data and contents of a Sheet into an array. sheet.getDataRange() data.getValues() sheet.getName()

  • Standalone script selecting a sheet by URL or ID. List sheets - update sheet names sheet.setName();

  • Create New Sheets on the fly with Apps Script - insertSheet()

  • Sheet ranges - updating the background colors of cells, selecting cells and ranges of cells. getRange() getRange(a1Notation) A1Notation the default method used for creating (and displaying) cell references to other cells. All cell addresses in A1 notation consist of a column letter and a row number

  • Get range by numeric row and column values. sheet.getRange(rows,cols) range.setBackground(backColor) , range.setFontColor('white'), range.setFontSize(mySize+cols), range.setValue(total); getRange(row, column)

  • MultiDimension arrays for content rows within the sheet. Get the range update content getRange(row, column, numRows, numColumns) getRange(row, column, numRows)

  • Debugging and Dashboard settings

  • Sheet object common methods - getLastColumn() getLastRow()

  • Get Selection getSelection()

  • Mini App - Copy Sheet Data to other part of Sheet

  • Get all the Data range from Sheet object sheet.getDataRange(); Returns a Range corresponding to the dimensions in which data is present.

  • Dialogs and custom UI buttons - UI Menu within Sheets

  • Append Row - add new rows - Add row on top appendRow(rowContents)

  • Insert insertRows(rowIndex)

  • Cell Formulas - spreadsheet.getRange().activate() .setFormula()

  • Custom Functions using the custom function Using a custom function - Is Email mini App

  • Mini App - Copy Sheet to another new sheet

  • Adding Notes to Cells

  • Coding App MiniProject Challenge - Create a Custom Logger into a Sheet - track messages into log

  • Coding App MiniProject Challenge - Create a custom Prepend Function Prepend Row Exercise

Google Apps Script Docs Document Service Class DocumentApp

This service allows scripts to create, access, and modify Google Docs files. The document service creates and opens Documents that can be edited.

Bound Script getActiveDocument()

  • Select and add Content to Body getBody() appendParagraph() appendPageBreak()

  • StandAlone Script DocumentApp.openById()

  • Add Body Content appendHorizontalRule()

  • Create a Doc using Script DocumentApp.create()

  • Get Doc properties add to itself within the new Doc

  • Set Name Get Editors and Get URL

  • Select Text getText()

  • Use JavaScript Loop to generate rows of content

  • Translate selected Content to Spanish LanguageApp.translate()

  • body.getParagraphs() select and update text within Paragraphs

  • DocumentApp Types and setting of DocumentApp.TextAlignment

  • Body Get Children getChild() .setFontSize() .getNumChildren() with loop to iterate body children element containers

  • Style Attributes DocumentApp.Attribute

  • Replace text body.replaceText()

  • el.setAttributes(); using attribute object values and properties

  • Clear body content

  • Add list items

  • Add Tables data types

  • DocumentApp UI prompt and alert

  • Active User Session.getActiveUser()

  • UI DocumentApp showModalDialog() HTML output HTML from File

  • Cursor position getCursor()

  • editAsText() set part of text as bold

  • Selected Text toUpperCase() getActiveDocument().getSelection()

  • Adding Bookmarks with Code addBookmark()

  • Insert Image into Document

  • ReplaceText Exercise

  • Exercise Sheet data to Doc Table

  • Coding App MiniProject Challenge - Add Text within the doc press menu button

  • Coding App MiniProject Challenge - Find and highlight text from Doc Content

  • Coding App MiniProject Challenge - Insert Images in Doc content Insert Images

Google Apps Script Drive Service Class DriveApp

This service allows scripts to create, find, and modify files and folders in Google Drive.

Selecting files log all the file names from the drive

  • Introduction to Apps Script DriveApp Service getFiles

  • How to Get Files in specific Folder using DriveApp Service

  • Create a File HTML file make files within your gDrive apps script DriveApp Create a File

  • Drive details get storage Get info and gdrive folder Drive Details

  • Classes File Class

  • Trash files move to trash Send Files to Trash with Google Apps Script

  • File permissions set File Access Permissions with Google Apps Script

  • Class FileIterator

  • Folders Class Folder

  • Set permissions and remove permission on Folder

  • Get details of Folder Class FolderIterator

  • User Object

  • Coding App MiniProject Challenge - create an app to list folder details into Sheet

  • Coding App MiniProject Move File from one folder to another

  • Coding App MiniProject Search files return file object

  • Coding App MiniProject Add and Remove Editors

  • Coding App MiniProject Webapp folder urls in webapp from Search

Google Apps Script Gmail Service Class GmailApp

This Service lets you send email, compose drafts, manage labels, mark messages and threads, and conduct a variety of other Gmail account management tasks. See also Mail Service, a simpler service that only allows the sending of email.

Mail Service vs GmailApp Service sendEmail(recipient, subject, body) This service allows scripts to send email on a user's behalf. Unlike Gmail Service, Mail Service's sole purpose is sending email; it cannot access a user's Gmail account. This service allows users to send emails with complete control over the content of the email. Sending an email in Mail Service sendEmail(recipient, subject, body, options) getRemainingDailyQuota() Sending an email in Mail Service sendEmail

  • Sending an email in GmailApp Service sendEmail(recipient, subject, body) sendEmail(recipient, subject, body, options) How to send emails - Sending Emails with Apps Script

  • Create a draft email createDraft(recipient, subject, body, options) Drafts email in GmailApp Service

  • getMessage() method in emails Threads within Gmail using GmailApp Service Inbox Threads.

  • Sending an email from HTML template file

  • Coding App MiniProject Use Doc as Email template

  • Replace of content in email use it as a template

  • Coding App MiniProject how to use Spreadsheet data list to Send Emails

  • HTML Body

  • Coding App MiniProject Challenge send bulk emails from list in Sheets

  • GmailApp Chat threads

  • Making a draft email

  • Mark message as read markMessageRead(message) Marks this message read and forces the message to refresh.

  • Add a Star to Message starMessage(message) getStarredThreads(start, max) Retrieves a range of starred threads irrespective of labels.

  • Get user labels apply labels getUserLabels() Retrieves a list of user-created labels.

  • moveMessageToTrash(message) Message object

  • Search for message contents search(query, start, max) Search Gmail with the given query.

  • Coding App MiniProject Class GmailAttachment - send and create attachments - Get attachments GmailApp Attachment Class

  • access Chat Threads GmailApp class using Apps Script

  • find messages - apps script GmailApp Search.

Google Apps Script Calendar Service Class CalendarApp

This service allows a script to access and modify the user's Google Calendar, including additional calendars that the user is subscribed to. Allows a script to read and update the user's Google Calendar. This class provides direct access to the user's default calendar, as well as the ability to retrieve additional calendars that the user owns or is subscribed to.

CalendarApp add location to info Class Calendar

  • Get Events with options

  • Full day events within the calendar

  • Add events with series

  • Selecting Calendars using CalendarApp Class Code example

  • Delete create and hide calendar

  • How to update Google Calendar Name add Description

  • Update calendar color , description and name

  • Select and Update Calendar Events CalendarApp Event Class Examples

  • Create Events

  • Project - Challenge - Spreadsheet Calendar Lister - CalendarApp and SpreadsheetApp Project

  • Calendar Event Guest

  • Calendar Event Class using Google Apps Script

  • Get Guest details - update guests add and remove guest class

  • EventGuest updates Represents a guest of an event.

  • EventRecurrence class set the recurrence settings for an event series.

  • GuestStatus get guest statuses a guest can have for an event.

  • Update RecurrenceRule which represents a recurrence rule for an event series.

  • Coding App MiniProject Spreadsheet Calendar Lister - CalendarApp and SpreadsheetApp Project

  • create Events CalendarApp within Google Calendar with Apps Script

Google Apps Script Slides Service Class SlidesApp

This service allows scripts to create, access, and modify Google Slides files. Google Slides documentation and features of the Slides service.

  • Create a Slide - open by slide id

  • How to use Slides Service Class SlidesApp with Google Apps Script

  • Slides Bound Script Updates select slides within Google Slides and get Slides Update them

  • Slides UI Add a custom menu to the active presentation, including a separator and a sub-menu

  • A slide in a presentation. Class Slide

  • Coding App MiniProject remove a slide from Google Slides presentation Remove Slide Button

  • add custom menu options for Slides Users SlideApp UI Menu

  • Presentation Class - appendSlide add Editor set Slide Background

  • Update textStyle Background Color Get TextRanges Get Page Elements Get Slides

  • Add UI menu button to duplicate Slide from Current Selection Code Example

  • Insert Drive Images with UI button Delete and remove selected Slides

  • List layouts Update Master Find text in shapes and remove shapes Source Code

  • Coding App MiniProject Create a Presentation from Sheets Generate Slides from Sheet data - Project

Google Apps Script Forms Service Class FormApp

This service allows scripts to create, access, and modify Google Forms. Allows a script to open an existing Form or create a new one.

  • Create a form create a form with Apps Script Forms Service Create a Form

  • Add Items to a form grid items, multiple choice and date items

  • Get Form items update

  • Update existing form items with new values make required

  • Add items to Form using Google Apps Script to Google Form using FormApp

  • setup Feedback within Google Form Feedback Within Form

  • FormApp Class FormResponse

  • Setting form to quiz

  • Adding Form Feedback

  • Setting Form to Quiz updating adding Feedback to form choices

  • Coding App MiniProject FormResponses into Sheet Project Get form responses add to spreadsheet Project

  • Coding App MiniProject send Google Form Responses list them within a Google Sheet FormResponse

  • Coding App MiniProject How to Create a Math Quiz in Google Forms Apps Script Quiz Generator Project

  • Set Progressbar shuffle questions add Scale Item Examples

Google Apps Script Google Workspace services

Google Workspace services are easier to use than Google Workspace APIs, but are optimized for only the most common use cases. Coding examples of common Google Apps Script Services

  • Class ContactsApp within Google Services Apps Script

  • use LanguageApp Service within Google Apps Script

  • generate Maps using Maps Service within Google Apps Script

  • Google Apps Script Base Services Examples of Code

  • Coding Example using Content Service with Apps Script

  • Coding Example HTML Service within Google Apps Script

  • Send data from client side back to Google Apps Script Class google script host

  • Google WebApp Client Side data scriptlets services Host services Google

  • Store values within Google Apps Script Class PropertiesService User Doc or script

  • Create a request to http endpoint API using UrlFetchApp Class

Google Apps Script Common Services Mini Apps and Useful Coding Examples

Examples of mini projects and Code examples for applying Google Apps Script to Create added functionality within G Suite Services

  • Coding App MiniProject Create Charts in Google Spreadsheets setup Sheets

  • Coding App MiniProject add Charts to Slides Create Slides Presentation

  • Coding App MiniProject Create PDF in Drive email as Attachment Slides as PDF in Drive.

  • Coding App MiniProject  - Docs UI menu Interactive

  • Coding App MiniProject - Sheets UI menu button for advanced interaction

  • Getting to know Sheets Simple Triggers on Edit and Change run some code

  • Create a webapp onGet onPost Simple triggers with Apps Script

  • Automation setup Triggers run code on events and regular time intervals

Creating a multi page webapp with apps script

Interactive Document custom functions Introduction Document UI File Docs Interactive Project

Custom webapp Quiz Setup from sheets using a web app

Explore how to deploy your apps script project as an Addon Extending Google Workspace. Add-ons are customized applications that integrate with Google Workspace productivity applications such as Gmail, Google Sheets, and Google Docs.

Taught by a Google Developer Expert instructor with over 20 years of web dev experience ready to help you learn more about Google Apps Script

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Google Apps Script
Hiển thị tất cả khoá học Google Workspace
Hiển thị tất cả khoá học Javascript
Hiển thị tất cả khoá học Web Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊