Last active
October 25, 2022 13:46
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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