Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Document contain an “invalid frame”

Guide ,
Feb 29, 2016 Feb 29, 2016

HI All,

Recently i faced a problem when opening an Indesign document. It shows the below error message. Any one please explain why it comes?



I aware we can export the file as idml or inx will fix the problem.


Is it possible to detect this kind of indesign document through javascript?


Regards,

Karthi

TOPICS
Scripting
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Feb 29, 2016 Feb 29, 2016

Hello Experts,

Any suggestions or advice please.

Regards,

Karthi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 29, 2016 Feb 29, 2016

> Is it possible to detect this kind of indesign document through javascript?

No, that's almost certainly impossible.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Feb 29, 2016 Feb 29, 2016

Hi Peter,

Thanks for your reply. May i know why it comes? Is it the document corrupted? but even it's opened!!

Can we use try, catch method to identify this?

Regards,

Karthi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 01, 2016 Mar 01, 2016

What do you want to catch? What statement would you use to find the problem? You don't know what you're looking for. And even if you did, InDesign's object model doesn't provide anything for low-level access to document features.

P.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Mar 01, 2016 Mar 01, 2016

Hi Peter,

I have 10 indesign document in a folder. I want to know which file give this error message. So if i give the error description  as "Document contains an invalid frame." then i will get the indesign document name.

try{

        }

catch(err){  

        if(err=="TypeError: Document contains an invalid frame."){

            alert(app.activeDocument.name)

        }

Thanks,

Karthi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Mar 01, 2016 Mar 01, 2016

Hi,

Anyone please help me regarding the above issue.

Regards,

Karthi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 02, 2016 Mar 02, 2016
LATEST

Interesting one but clueless unfortunately. Apart from the message does the preflight panel raises the issue ?

In this case, you may take advantage of the preflight reports ?

FWIW,

Loic

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines