- הוסף לסימניות
- #1
שלום,
בקשו בפורום של אדובי סקריפט שיחלק קובץ אינדיזיין לדפים נפרדים וישמור כל אחד כמסמך אינדיזיין בודד.
לא בטוח עד כמה זה שימושי -- לי עוד לא היה צורך בכזה דבר -- אבל הנה מה שכתבתי שם, ואולי משהו פה ימצא בזה שימוש:
בקשו בפורום של אדובי סקריפט שיחלק קובץ אינדיזיין לדפים נפרדים וישמור כל אחד כמסמך אינדיזיין בודד.
לא בטוח עד כמה זה שימושי -- לי עוד לא היה צורך בכזה דבר -- אבל הנה מה שכתבתי שם, ואולי משהו פה ימצא בזה שימוש:
קוד:
// BS"D
// Extract Pages
// An InDesign script by Ariel Walden (c) 2014 Id-Extras.com All rights reserved.
// Free to use, but may not be commercially distributed
// Please do not delete this copyright notice
// This script will save each page of the current InDesign file as a separate InDesign file
// To use: Open a document, run the script, select your target folder in which to save the files, and click OK.
// Note: Works best on a document that is not set up as facing pages.
myDoc = app.activeDocument;
myPages = app.activeDocument.pages;
myFolder = Folder.selectDialog("Choose the folder in which to save the pages...");
if (myFolder == null) exit();
for (i = 0; i < myPages.length; i++){
myDoc.saveACopy(File(myFolder+"/Page_"+myPages[i].name+".indd"));
newDoc = app.open(File(myFolder+"/Page_"+myPages[i].name+".indd"), false);
myDoc.pages[i].duplicate(LocationOptions.AT_END, newDoc.pages[-1]);
newDoc.pages.itemByRange(newDoc.pages[0], newDoc.pages[-2]).remove();
newDoc.close(SaveOptions.YES);
}
alert("Done!");
myFolder.execute();
הנושאים החמים