Skip to content

Instantly share code, notes, and snippets.

@Awashcard0
Last active October 25, 2022 13:46
Show Gist options
  • Save Awashcard0/4e7801c9f31e4d5efca5e1278a66bb1b to your computer and use it in GitHub Desktop.
Save Awashcard0/4e7801c9f31e4d5efca5e1278a66bb1b to your computer and use it in GitHub Desktop.
Run at https://script.google.com/ or open google docs, extensions, apps script
var time = 1
function myFunction() {
var doc = DocumentApp.getActiveDocument();
var nam = doc.getName
doc.setName(nam + ": " + time);
time = time + 1;
myFunction();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment