SHARE
TWEET

Untitled

a guest Apr 19th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function copyDocs() {
  2.     var file = DriveApp.getFilesByName('Master file of Gradebook');
  3.     file.makeCopy();
  4.     var Id = file.makeCopy().getId();
  5. }
  6. function renameDoc() {
  7.   var doc = DocumentApp.getActiveDocument();
  8.   var name = doc.getName();
  9.   doc.setName('Done-' + "Nursary KC" + "Manjit Rani");
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top