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
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
330
Other Decks in Programming
See All in Programming
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
150
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
3.3k
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
720
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
140
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
160
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
300
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
360
Distance field of Julia set
kinakomoti321
0
280
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
290
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
1
110
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
350
Featured
See All Featured
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Navigating Team Friction
lara
192
16k
Utilizing Notion as your number one productivity tool
mfonobong
4
640
Code Review Best Practice
trishagee
74
20k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Everyday Curiosity
cassininazir
0
390
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
650
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
420
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
630
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