Is there a way to change the background color of a Google Form programmatically using the App Script API?
相关问题
- How can I force all files in a folder to be owned
- Google Apps Script: testing doPost() with cURL
- Google Apps Script to turn in, grade, and return a
- Script fails on SpreadsheetApp.openById - Requires
- Split Lines and Bold Text within a ui.alert Window
相关文章
- How to allow access for importrange function via a
- Google app script trigger not working
- Set Date/Time to 00:00:00
- indexOf returning -1 despite object being in the a
- How can my Google Apps Script be run by others the
- How to stop execution of Google Apps Script?
- Profiling the Performance of a Google App Script
- String starts with in Google Script
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 isSite
.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.