This is the file what I have the problem… there is something on page 4 or 5… what immediately opening the file… in-design crashes
this is the file
https://media.mouzenidis-travel.ru/Design/Open/Poland%20Catalogue.indd
I tought if I make some script like this:
// blindOpen_and_IDML-Export.jsx
var _file = File.openDialog(“InDesign-Datei”); // Selection of a file
if(_file != null)
{
var d = app.open(_file, false); // Open the file without showing it
d.exportFile(ExportFormat.INDESIGN_MARKUP, File(_file.fullName.replace(/.indd$/i,’.inx’))); // Export im IDML-Format
d.close(SaveOptions.NO); // Close without saving
}
whick don’t really open the file… and without showing the file delete automaticaly the page no4 and 5… and after that resaves it… it will fix the problem…
but how to make it?