Breaking news: Google has released a bunch of new features that will help developers do more with Apps Script.
This Wednesday marks the launching of Google annual
developer conference, Google I/O. Therefore, Google harnesses the opportunity
to share a bunch of new features that will help developers do more with Apps
Script. these new features launched
today are:
today are:
Scripts in Google Docs
For those who want to be able to extend Google Docs just like Google Sheets, with custom menus, dialogs,
and triggers. Starting today, you can do just that (plus custom sidebars, too).
Forms Service / Scripts in Google Forms
This means you can now use the Forms
Service to programmatically create
and modify Google Forms, including triggers and a better way to respond to form
submissions. (Google have created a new 5-minute
quickstart to get you going.) You can
also extend the Google Forms editor with the same custom menus, dialogs, and
sidebars as Google Docs.
Drive Service
For those of you who use the DocsList Service to
automate your Google Drive, a newer version is now available. Drive
Service comes with new features like
setting the owner of a file or folder or changing the sharing settings.
Faster HtmlService
At Google I/O 2012, Google launched HtmlService to let you build custom user interfaces with secure
client-side scripting. Starting today, you can enable
an experimental version of the client-side sandbox that runs significantly faster in any browser
that supports ECMAScript 5 strict mode.
Improved Authorization Flow and API Console Integration
Now, you can opt
in to an experimental new authorization flow that requires fewer clicks. In addition, every script
that uses the new flow automatically
creates a project in the Google APIs Console. This makes it much easier to use Google APIs that
aren’t built in to Apps Script. To upgrade a script to the new flow, select File
> Upgrade authorization experience.