Copy all art and place in new document
Hi All,
Requirement:
I need graphics (arts) in my active document, copy and paste in another document with their art name.
Trying code is:
myDoc=app.activeDocument;
myGraphics=app.activeDocument.allGraphics;
for (k=0;k<myGraphics.length;k++)
{
myDoc=app.documents.item(0);
//alert(myGraphics
app.select(myGraphics
app.copy();
myDoc1=app.documents.add();
myDoc1=app.documents.item(1);
app.paste();
}
Above code just copy and paste the single art only. But i need all arts in my active document and paste in new document with their art naming.
Can anyone give solution for above mentioned query.
Thanks in advance
BEGINNER