Google Apps脚本触发器:如何获取计时器时间?

时间:2018-10-30 07:12:26

标签: google-apps-script triggers displayobject

var触发器= ScriptApp.getProjectTriggers();

for(var i = 0; i

 if (triggers[i].getEventType() == ScriptApp.EventType.CLOCK) {

 // I need to get the timer time of a trigger to show it on a Google Sheet.

 // But I cannot find the detail.

 // Anyone can show me how to do it ?

 // Thanks, Thomason

 }

}

0 个答案:

没有答案