

Create a new script by selecting Script editor… from the Tools menu. Next, we’ll create a script with which the user can choose various options to shuffle elements in the document. The document will open in a new window and you’ll notice the traditional Word editing icons and functions such as font name, size and color as well as text alignment and justification, to name but a few. To open an existing document simply click on its name. To do this, log into your Google Drive account and create a new document or open an already existing document. Opening an existing documentīefore we can jump into exploring the Google Apps Script for Google Docs, let’s first create a new script. It bore some resemblance to the Microsoft Office object model as some objects may seem very familiar to MS Office developers. In this article we’ll focus on how to create a Google Docs add-on and add your own functionality to it.

I’ve spend some time delving into the Google Apps Script library and found I, as a Microsoft Office developer, was remarkably comfortable with the object model the Google Apps Script provides.

Google Apps provides a whole new set of opportunities for developers by enabling them to build web apps and automate tasks inside Google Apps using the Google Apps Script. Did you know that 5 million businesses use Google Apps? Were you also aware that users can create and edit both Word and Excel style documents and spreadsheets right inside their browsers?
