Reply To: InDesign CC crashes when opened

Home Page / Forums / General InDesign Topics (CLOSED) / InDesign CC crashes when opened / Reply To: InDesign CC crashes when opened

#111142
Anonymous
Inactive

Hi guys, thanks for your suggestions.

David, I’m using InDesign CC 64 bit (ver. 9). Thiago, I tried your script, but I don’t know much about scripts so I’m not sure if I did it right. I copied the script into a text editor and saved it using my own filename and the “.js” extension, in the following folder:

Program Files\Adobe\Adobe InDesign CC (64 bit)\Scripts.

There were several subfolders in Scripts: converturltohyperlink, Preflight, Scripts Panel, startup scripts, and so on. I tried it with the script in the top folder, in \Scripts Panel and in tartup scripts. In the top folder and \Scripts Panel nothing happened: the program opened and immediately crashed as usual. In tartup scripts I got an error message. It’s a pity we can’t upload screenshots, but this is what it said, hoping I’ve copied it right:

JavaScript error!

Error Number: 8
Error String: Syntax error

Engine: main
File: C:\Program Files\Adobe\Adobe InDesign CC (64 bit)\Scriptstartup
scripts\PreventStartupCrash.js
Line: 1
Source:varfile = File.openDialog(?Open InDesign document”,
?Documents:*.indd”);
Offending text: ?

NOTE: The above error message uses different opening (?) and closing (”) quotes. But that’s NOT what was in the .js file I saved: I copied exactly what’s in your post above, which has straight quotes everywhere (and the wording isn’t exactly the same).

So I don’t know whether the script would have worked if the ‘offending text’ (the opening double quote) were corrected. As it was, the program crashed as usual after I closed the error message.

Any thoughts on how to proceed??

Thanks again for your help!

—Steve.

This article was last modified on October 25, 2018

Comments (0)

Loading comments...