User interface 有没有可能找到另一个人';谷歌应用程序脚本中的用户界面?
在Google应用程序脚本中,当您使用属性:User interface 有没有可能找到另一个人';谷歌应用程序脚本中的用户界面?,user-interface,google-apps-script,User Interface,Google Apps Script,在Google应用程序脚本中,当您使用属性:DocumentApp.getUi()时,它会获取使用它的人的UI。如果您使用了DocumentApp.getUi().alert(),那么它将向使用脚本的人发送警报。我想知道是否有一种方法可以在GoogleApps脚本中提醒另一个人的UI,而不是提醒正在使用该脚本的人。下面是我的代码示例: DocumentApp.getActiveDocument() .removeViewer(userName.getResponseText(
DocumentApp.getUi()
时,它会获取使用它的人的UI。如果您使用了DocumentApp.getUi().alert()
,那么它将向使用脚本的人发送警报。我想知道是否有一种方法可以在GoogleApps脚本中提醒另一个人的UI,而不是提醒正在使用该脚本的人。下面是我的代码示例:DocumentApp.getActiveDocument()
.removeViewer(userName.getResponseText())
.removeEditor(userName.getResponseText());
DocumentApp.getUi()
.alert("Your access is being removed.")
现在,这将是美妙的,想象所有的可能性,如果这是可能的!有人请帮忙 除了调用该功能的浏览器外,无法访问任何浏览器的UI。这也是为什么时间驱动触发器不能显示UI模态(它们在非本地执行)。因此,您想要的是,例如,如果我正在查看文档,您会收到UI警报?是的。我在网上找不到任何东西,有可能吗?