Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GASええやん
Search
U76NER
May 16, 2022
Programming
1
90
GASええやん
WASD Inc. LT会(仮)
2022-02-04
U76NER
May 16, 2022
Tweet
Share
More Decks by U76NER
See All by U76NER
JSのクラスの後ろ向きな話
u76ner
0
130
競プロへの誘 -いざな-
u76ner
0
940
mockdateええやん
u76ner
0
310
Other Decks in Programming
See All in Programming
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
Package Management Learnings from Homebrew
mikemcquaid
0
210
Basic Architectures
denyspoltorak
0
660
SourceGeneratorのススメ
htkym
0
190
AgentCoreとHuman in the Loop
har1101
5
230
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
520
CSC307 Lecture 09
javiergs
PRO
1
830
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
180
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
6k
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
700
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
Featured
See All Featured
Visualization
eitanlees
150
17k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
88
GitHub's CSS Performance
jonrohan
1032
470k
The SEO Collaboration Effect
kristinabergwall1
0
350
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Exploring anti-patterns in Rails
aemeredith
2
250
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
72
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Transcript
GASええやん LT会(仮) 2022/02/04 u76ner
GASとは何ぞや 2 - Google Apps Script - https://workspace.google.co.jp/intl/ja/products/apps-script/ -
Googleのサービスを自動化するスクリプト言語
GASとは何ぞや 3 - Google Apps Script - https://workspace.google.co.jp/intl/ja/products/apps-script/ -
Googleのサービスを自動化するスクリプト言語 - 早い話がGoogle版VBA - スプレッドシートの自動化マクロ組んだりとかまんまソレ
(エンジニア的な)GASの利点 4 - JavaScriptで書ける - ネット上に転がってるやつだと古い書き方のことが多い
(エンジニア的な)GASの利点 5 - JavaScriptで書ける - ネット上に転がってるやつだと古い書き方のことが多い
- けどES2015でももちろんok
(エンジニア的な)GASの利点 6 - ローカルで書けてデプロイできる(!)
(エンジニア的な)GASの利点 7 - ローカルで書けてデプロイできる(!) - TypeScriptで書ける(!!)
(エンジニア的な)GASの利点 8 - ローカルで書けてデプロイできる(!) - TypeScriptで書ける(!!) GOD
(エンジニア的な)GASの利点 9 - ローカルで書けてデプロイできる(!) - TypeScriptで書ける(!!) - 型が効いて超快適にマクロが書ける
(エンジニア的な)GASの利点 10 - ローカルで書けてデプロイできる(!) - TypeScriptで書ける(!!) - 型が効いて超快適にマクロが書ける
- Claspを使えばとても楽 - Command Line Apps Script Projects - https://github.com/google/clasp
開発環境の構築 11 - Clasp(とかTypeScriptとかTSLintとか)を入れる $ npm install -g @google/clasp
開発環境の構築 12 - GASのAPIを有効にしておく - https://script.google.com/home/usersettings
開発環境の構築 13 - ディレクトリをつくってnpm initする - @typesを入れておく $ npm
init —-y $ npm install @types/google-apps-script —-save-dev
開発環境の構築 14 - 初期化 - サービスを選ぶと、そのままGoogle Drive上にファイルを作ってくれる
開発環境の構築 15 - 書く - rootDirを指定してなければ直下におけばok 型の恩恵も受け放題
開発環境の構築 16 - デプロイ $ clasp push
開発環境の構築 17 - デプロイ これが
開発環境の構築 18 - デプロイ こうなってる、神
まとめ 19 - クッソ楽 - npm initして@typesいれてTSで書いてpushするだけ -
エンジニアじゃない人がここまでやるのは非現実的だけど、 環境が整ってるなら爆速でマクロ書けるのでいい感じ
20