Join Scott Simpson for an in-depth discussion in this video Solution: Building an app to create folders on Google Drive, part of Up and Running with Google Apps Script (2013).
- View Offline
To start out with, I created two folders in my drive,…one for each of the sections of the Art 102 class.…Section A and Section B.…And here you can see the syllabus for Section…A and the syllabus for Section B as well.…So I'll work with the spreadsheet that I created earlier,…with the names of the people that are in the class.…And to start, I went into the script manager from tools.…There I created a new script, let's go take a look at that.…Here, I used part…of the functions that Google gave me, but I tweaked them a little bit.…You'll recognize these four rows, but here in the…(INAUDIBLE)…I tweaked this a little bit, because my data has a header row.…
And so I don't want to start at row zero,…I want to start at row one, the second row down.…Then I set up variables for each of the shared folders.…To get each of these ID's I just copied them out…of the URL bar, of course your ID's would be different.…After that I set up variables to represent each of the two…syllabus files and then I set up an empty variable just called syllabus.…
- What is Google Apps Script?
- Creating and editing files with Apps Services
- Storing data for your script
- Using events and triggers in containers
- Building custom spreadsheet functions
- Sharing your script as a web app
- Serving JSON or XML from your script
- Publishing your app in the Chrome Web Store