How to enable/disable "Use for Reading Order in Tagged PDF" using Script?

Adobe Community Professional ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

Hi everybody,

Today I am stuck with this check box to be enable/disable. I tried searching but could not find.

ArticleEnable.png

Please guide me on this, how to check/uncheck the box in article "Use for Reading Order in Tagged PDF".

 

Thanks

Sunil Yadav

TOPICS
Scripting

Views

99

Likes

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 1 Correct Answer

Adobe Community Professional , Jun 02, 2021 Jun 02, 2021
Hi @Sunil Yadav, To enable it, try the following app.documents[0].taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_ARTICLES To disable it try the following app.documents[0].taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_XML_STRUCTURE  Hopefully, it should work -Manan

Likes

Translate

Translate
Adobe Community Professional ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

Hi @Sunil Yadav,

To enable it, try the following

app.documents[0].taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_ARTICLES

To disable it try the following

app.documents[0].taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_XML_STRUCTURE

 Hopefully, it should work

-Manan

Likes

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
Adobe Community Professional ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

LATEST

Thanks @Manan Joshi  for the real quick reply.

I was making a really small mistake for this.

I was trying to do it for Application, that is the reason may be I was not getting that.

app.taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_ARTICLES;

Thanks for clearifying my concern.

 

Sunil

Likes

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