CLUE: 我有一个脚本示例路径。在下面的下方:
...
result += "<tr OnClick='highlight(this);setTimeout(function(){google.script.host.close();}, 3000);'>";
result += "<td OnClick='google.script.run.handleGoToSheetClick(this.innerText);'>"+sss[i].getName()+"</td>";
result += "</tr>";
...
问题是: 如何使“ handleGoToSheetClick(this.innerText)”作为“ highlight(this)”之后运行多个脚本的第一优先级和“ setTimeout(function(){google.script.host.close();},3000)”然后将立即运行“ handleGoToSheetClick(this.innerText)” ???
问题是: 因为运行结果“ highlight(this)”和“ setTimeout(function(){google。 script.host.close();},3000)“
我认为我先前的行为有误。我确实喜欢一些东西,首先激活了运行时应用程序脚本,该脚本由chrome提供支持,然后在脚本的另一行中进行了更改,然后再次进行回滚后,撤消了所有操作我已经开始犯错了,那么一切都会好起来的...