This article shows how to create a new folder and file with some text inside it with Google AppScript. We will also see how to create a new Google Doc and write some text inside it through AppScript.
Create File & Folder with AppScript
The following function will create a folder name My Folder in your Google Drive and then inside that folder it will create a file named My File.txt. It will also write some text (Lorem ipsum) in that file.
[crayon-5a2d90fc4a605343774441/]
Create a new Google Doc File with AppScript
In the code below, ...
↧