Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
GASええやん
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
U76NER
May 16, 2022
Programming
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GASええやん
WASD Inc. LT会(仮)
2022-02-04
U76NER
May 16, 2022
More Decks by U76NER
See All by U76NER
JSのクラスの後ろ向きな話
u76ner
0
140
競プロへの誘 -いざな-
u76ner
0
1k
mockdateええやん
u76ner
0
320
Other Decks in Programming
See All in Programming
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
110
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
670
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
130
Jetpack Compose メカニズム
skydoves
0
140
DroidKaigi 2026 「個人開発という実験場: Android エンジニアが手にする4つの自由」
slashnephy
0
230
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
140
巨大モノリシックアプリ モダン化大作戦
ktcryomm
0
950
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
1.1k
Intent as Code
shoppingjaws
6
970
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
0
220
Webの地図
yosuke_furukawa
PRO
6
4.3k
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
160
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
500
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
58k
Are puppies a ranking factor?
jonoalderson
2
3.9k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
450
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Why Our Code Smells
bkeepers
PRO
340
58k
Unsuck your backbone
ammeep
672
58k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.7k
Accessibility Awareness
sabderemane
1
210
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