Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
indesign can create 140 docs at once
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