本文介绍了如何允许在pubhtml版本中执行Google Apps脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

提供上下文.

我最近制作了一个字符表,the头是他们随机改变了形式.我制作了一个脚本,该脚本允许单击一个按钮,并且将从隐藏的工作表中随机生成一个新表单.

I have recently made a Character Sheet, with the gimmick being that they randomly change form. I have made a script that allows one to click a button and a new form will be randomly generated from a hidden sheet.

现在,我想发布它,以便该小组可以在不使用整个Sheets界面的情况下访问它.

Now, I wanted to publish it so that the group could access it without the whole Sheets interface in the way.

问题就这样了.是否可以使该按钮对pubhtml版本中的每个人都可执行?

The question is thus. Is it possible to make the button executeable for everyone in the pubhtml version ?

推荐答案

当前,无法通过按钮或其他方式从Google表格的已发布网址(/pubhtml)开始执行任何应用程序脚本.

Currently, It is not possible to start execution of any apps scripts from the published url of Google sheets: /pubhtml using buttons or otherwise.

但是,可以使用时间驱动的触发器,并按照配置的刷新率发布更改.

However, it is possible to execute scripts in a Google sheet using time driven triggers and have the changes published as per the refresh rate configured.

这篇关于如何允许在pubhtml版本中执行Google Apps脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 22:45