GAS script that can get the required time from a certain place to a place listed in spread sheet. スプレッドシートにリストされた各目的地までの所要時間を計算する GAS スクリプトです。
This script requires a spread sheet that has a list of a goal address. 目的地の住所一覧がスプレッドシートに書き込まれている状況を想定しています。
- create a spread sheet
- tools > script editor
- copy and paste the code
- fill some required filed (shown below)
- run the script
- result is written in the same sheet
- スプレッドシートを作成します
- ツール > スクリプトエディタ を起動
- コードをコピペします
- 必要な部分を埋めます(後述)
- スクリプトを実行します
- 結果がシートに記録されます
variable name | what is this | example |
---|---|---|
origin | depature point / 出発地 | 東京都**区銀座3丁目5−12 |
destRow | the row number of the spread sheet / スプレッドシートで住所一覧が記載されている行番号 | 2 |
destCol | the column number of the spread sheet / スプレッドシートで住所一覧が記載さ入れている列番号 | 2 |