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

how can i open the validation error panel through extendscript

Community Beginner ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

manikandand34755096_0-1596021454871.png

i am validating xml structure based on dtd. when i validate manually in indesign, marked panel is opened but i validate through extendscript toolkit marked panel is not opening why??? how can i open that panel through extendscript please guid me.

 

TOPICS
Import and export , Performance , Scripting , SDK

Views

360

Translate

Translate

Report

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

correct answers 2 Correct answers

Community Expert , Jul 29, 2020 Jul 29, 2020

You could hunt for a menu action. But I guess, there is no way.

To get a list of all menu actions you could use a script by Peter Kahrel:

 

Menu actions

https://creativepro.com/files/kahrel/indesign/menu_actions.html

 

Unfortunately all related discussions in the InDesign Scripting Forum Peter linked to are not with us anymore. They were not transfered to the new Adobe InDesign forum last year.

 

Properties and methods of menuActions can be found here:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#MenuAction.html

...

Votes

Translate

Translate
Guide , Jul 29, 2020 Jul 29, 2020

First time I've come across that panel - never tried a dtd with InDesign as I prefer xsd to validate. Another bag of bugs, using a random dtd from Oxygen yields some strange error messages. Enough ranted.

 

Note for plug-in developers, widget ID is kValidationSubPanelWidgetID.

kStructureValidateRootActionID has ID 0x133D9 - hex value, can be used with itemByID().

Localizable name is "Structure_ValidateRoot"

 

So this menu action won't just open the validation panel but also perform the validation. In

...

Votes

Translate

Translate
Community Expert ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

You could hunt for a menu action. But I guess, there is no way.

To get a list of all menu actions you could use a script by Peter Kahrel:

 

Menu actions

https://creativepro.com/files/kahrel/indesign/menu_actions.html

 

Unfortunately all related discussions in the InDesign Scripting Forum Peter linked to are not with us anymore. They were not transfered to the new Adobe InDesign forum last year.

 

Properties and methods of menuActions can be found here:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#MenuAction.html

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#MenuActions.html

 

Regards,
Uwe Laubender

( ACP )

Votes

Translate

Translate

Report

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 Beginner ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

Thanks for ur reply. I will try my best.

Votes

Translate

Translate

Report

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 ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

First time I've come across that panel - never tried a dtd with InDesign as I prefer xsd to validate. Another bag of bugs, using a random dtd from Oxygen yields some strange error messages. Enough ranted.

 

Note for plug-in developers, widget ID is kValidationSubPanelWidgetID.

kStructureValidateRootActionID has ID 0x133D9 - hex value, can be used with itemByID().

Localizable name is "Structure_ValidateRoot"

 

So this menu action won't just open the validation panel but also perform the validation. In other words, no way to check the check mark of the action to see whether it is opened, also no way to close.

 

Cheers

Votes

Translate

Translate

Report

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 Beginner ,
Aug 03, 2020 Aug 03, 2020

Copy link to clipboard

Copied

LATEST

Thank you.

Cheers too

Votes

Translate

Translate

Report

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