質問編集履歴

1

2020/11/16 07:59

投稿

yuko.t
yuko.t

スコア9

test CHANGED
File without changes
test CHANGED
@@ -57,3 +57,29 @@
57
57
  GmailApp.sendEmail(address, title , msg);
58
58
 
59
59
  ```
60
+
61
+
62
+
63
+ ### 試したこと
64
+
65
+
66
+
67
+ ```GAS
68
+
69
+ function sendSchedule() {
70
+
71
+
72
+
73
+ var myCals = CalendarApp.getCalendarById('カレンダーID'); //特定のIDのカレンダーを取得
74
+
75
+ var myEvents = myCals.getEventsForDay(new Date());//カレンダーの本日のイベントを取得
76
+
77
+
78
+
79
+ var strDescription = myEvents.getDescription(); //イベントの説明欄
80
+
81
+ ```
82
+
83
+ だけで実行してみましたがこちらも同様のエラーが出ました。
84
+
85
+ > myEvents.getDescription is not a function