我的功能包括为文档添加菜单和烤面包.我已经验证了触发器(onOpen)也已设置好.它仅在用户进入"工具","脚本管理器","运行"时才有效.我们有太多的用户,背景太多,以至于不知道如何做到这一点.为什么不工作?(使用Chrome)
function onOpen()
{
var menus = [{name: "Advance in Workflow", functionName:"sendEmail"}];
SpreadsheetApp.getActiveSpreadsheet().addMenu("Auto Advance FG Workflow", menus);
//sheet.toast(Notify/Remind users);
sheet.toast("While you are here we kindly ask that you do not add, modify or remove any columns.","Welcome - " + username,8);
}
Run Code Online (Sandbox Code Playgroud)
谢谢,