2017-07-12 4 views

答えて

0

PropertiesServiceを使用して、ユーザー固有のデータを格納できます。

var properties = PropertiesService.getUserProperties(); 
    var buttonStatus = properties.getProperty("buttonStatus"); 

     if(!buttonStatus){ 

      //code to be executed after clicking the button 

      properties.setProperty("buttonStatus", "clicked"); 
      return; 

     } 

     //code to be executed when user clicks the button multiple times (e.g. displaying notification) 

     return; 
} 
関連する問題