Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 154536

Re: Corrupt InDesign File CC 2014, HELP!!!

$
0
0

When I try the following script within InDesign, it still opens the corrupt file, then does the normal crashing.

I tried running the script on software program AdobeExtendScript Toolkit, and when I run the script it states: "app.open is not a function"

 

Should we change anything to the script below?

// 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,'.idml'))); // Export im IDML-Format

d.close(SaveOptions.NO); // Close without saving

}


Viewing all articles
Browse latest Browse all 154536

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>