I know I can use
var doc = DocumentApp.getActiveDocument();
to create a new document on GoogleDocs, but how do I create it on a specific folder?
Further more, how do I write a code to open the newly created document? I´ve searched https://developers.google.com/apps-script/reference/document/document-app#create(String), but I could not find the answer.
Thank You Very Much!