Is there a way to change the background color of a Google Form programmatically using the App Script API?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
At the moment, there is no way to change the color of a Form via the App Script API. The only object the supports a .setTheme(theme)
method is Site
.
I know, I am sad, too.
Fortunately, once you generate a form programmatically, you can then edit it just like a regular form. You get the link to the editable page from form.getEditUrl()
.
Any changes you make there will be saved to the form itself. So, maybe you can just tinker around with it a bit at the end and it will look how you need it to.