Skip to content

Instantly share code, notes, and snippets.

@milligramme
Created October 13, 2010 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milligramme/623859 to your computer and use it in GitHub Desktop.
Save milligramme/623859 to your computer and use it in GitHub Desktop.
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