Postgresql 对于共享电子表格中的脚本,我认为不需要使用Apps脚本API,您可以通过使用Sheets API将脚本结果直接反映到如此多的电子表格中。在这种情况下,可以使用电子表格ID运行脚本,并且每个电子表格中都不需要绑定脚本。我的理解正确吗?当然,您可以使用pyth
Postgresql 对于共享电子表格中的脚本,我认为不需要使用Apps脚本API,您可以通过使用Sheets API将脚本结果直接反映到如此多的电子表格中。在这种情况下,可以使用电子表格ID运行脚本,并且每个电子表格中都不需要绑定脚本。我的理解正确吗?当然,您可以使用pyth,postgresql,google-apps-script,google-sheets,Postgresql,Google Apps Script,Google Sheets,对于共享电子表格中的脚本,我认为不需要使用Apps脚本API,您可以通过使用Sheets API将脚本结果直接反映到如此多的电子表格中。在这种情况下,可以使用电子表格ID运行脚本,并且每个电子表格中都不需要绑定脚本。我的理解正确吗?当然,您可以使用python脚本来实现它? function doGet() { var spreadsheets = ["spreadsheetId1", "spreadsheetId2",,,]; // Please set spreadsheet ID he
对于共享电子表格中的脚本,我认为不需要使用Apps脚本API,您可以通过使用Sheets API将脚本结果直接反映到如此多的电子表格中。在这种情况下,可以使用电子表格ID运行脚本,并且每个电子表格中都不需要绑定脚本。我的理解正确吗?当然,您可以使用python脚本来实现它?
function doGet() {
var spreadsheets = ["spreadsheetId1", "spreadsheetId2",,,]; // Please set spreadsheet ID here.
for (var i = 0; i < spreadsheets.length; i++) {
SpreadsheetApp.openById(spreadsheets[i])
.getSheetByName("Sheet1") // If you want to also put values to other sheet, please modify this.
.getRange(1, 1)
.setValue(new Date());
}
return ContentService.createTextOutput("Done.");
}
$ curl -L "https://script.google.com/macros/s/#####/exec"