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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
190
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
260
今から始めるClaude Code超入門
448jp
8
8.6k
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1k
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
CSC307 Lecture 06
javiergs
PRO
0
680
Basic Architectures
denyspoltorak
0
670
AI & Enginnering
codelynx
0
110
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
110
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Navigating Team Friction
lara
192
16k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Everyday Curiosity
cassininazir
0
130
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
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