Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function copyDocs() {
- var file = DriveApp.getFilesByName('Master file of Gradebook');
- file.makeCopy();
- var Id = file.makeCopy().getId();
- }
- function renameDoc() {
- var doc = DocumentApp.getActiveDocument();
- var name = doc.getName();
- doc.setName('Done-' + "Nursary KC" + "Manjit Rani");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement