LANG SELRCT

Apps Script Reference  (Create: Create new Spreadsheet | Create new Apps Script

Wednesday, December 5, 2018

Google Apps Scriptのファイル(プロジェクト)を書く場所


ここではGoogle Apps Scriptのファイルを書く場所とタイプについて書きます。


Standalone Scripts

スプレッドシートやドキュメントなどに属さずに単独で書くことができます

現在自分が知っている方法
  1. ダッシュボードの「新規スクリプト」から作る
  2. Googleドライブの「新規 > その他 > Google Apps Script」から作る
  3. 直リンクから作る
  4. Claspで作る

作り方
http://www.pre-practice.net/2018/12/standalone-scripts.html


Container-bound Scripts

スプレッドシートやドキュメントなどに書くことができます
  • 「ツール > スクリプトエディタ」から作る

作り方
http://www.pre-practice.net/2016/05/blog-post.html


Web Apps

Webアプリケーションを作成することができます
  • 「Standalone Scripts」「Container-bound Scripts」のどちらでも作れます

作り方
http://www.pre-practice.net/2016/05/web.html


参考

Standalone Scripts
https://developers.google.com/apps-script/guides/standalone

Container-bound Scripts
https://developers.google.com/apps-script/guides/bound

Web Apps
https://developers.google.com/apps-script/guides/web

Latest post

スプレッドシートA列にある複数のテキストをスライドに追加したい(Google Apps Script)

今回Google Apps Scriptでやりたいこと GoogleスプレッドシートA列にある複数の値を取得して Googleスライドに渡して 図形オブジェクトのテキストとして追加したい ① スプレッドシートのA列に値を入れておく ② Code.gsのinsertNewShape...