how can i open the validation error panel through extendscript

Community Beginner ,
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

143

Likes

Translate

Translate

Report

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

2 Correct Answers

Guide , Jul 29, 2020
Dirk Becker Guide , 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 ...

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional , Jul 29, 2020
Laubender Adobe Community Professional , 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...

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
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 )

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Jul 29, 2020

Copy link to clipboard

Copied

Thanks for ur reply. I will try my best.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Guide ,
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

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
manikandand34755096 AUTHOR LATEST
Community Beginner ,
Aug 03, 2020

Copy link to clipboard

Copied

Thank you.

Cheers too

Likes

Translate

Translate

Report

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