是否可以检测 google 电子表格是手动编辑还是通过 google 脚本编辑?

Is it possible to detect if the google spreadsheet was edited manually or via google script?

我们有 google spreadsheets,其中嵌入了脚本,可以从远程服务器自动生成数据。我只想知道是否可以知道对某个 sheet 的修改是通过 google 脚本完成的还是在编辑历史中手动编辑的?

您可以在脚本为 'run as' 的 Google Apps 域中创建一个新用户。这样你就会知道是脚本还是用户进行了编辑