Created
October 13, 2010 11:31
-
-
Save milligramme/623859 to your computer and use it in GitHub Desktop.
indesign can create 140 docs at once
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
for(var i = 0; i < 150; i++){ | |
try{ | |
app.documents.add(false); | |
} | |
catch(e){ | |
alert("もうおなかいっぱい\n created " + app.documents.length + " docs"); | |
exit(); | |
}; | |
}; | |
f = Folder(new File("~/Desktop/test")).create(); | |
alert(f) | |
var doc = app.documents; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment