Master page to Parent page change

Explorer ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

Hi!

I want to know if the change of Master pages to Parent pages in the new 17.0 version of Indesign will affect the properties in the Indesign Javascript DOM. masterPage or masterSpreads to parentPage or parentSpreads or something like that.

TOPICS
Scripting

Views

996

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

Community Expert , Oct 27, 2021 Oct 27, 2021

No, the propert names masterPage and masterSpread have not changed.

Likes

Translate

Translate
Community Expert ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

No, the propert names masterPage and masterSpread have not changed.

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
Explorer ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

Thank you Peter! Good to know.

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
Community Expert ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

Peter, do you know if parentPage and parentSpread have been added in addition to the older terms?

David Creamer: Community Expert, Adobe Certified Instructor, and Adobe Certified Expert (since 1995)

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
Community Expert ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

Hi Creamer Traning,

property parentPage, a property of a page item, was introduced with ExtendScript in InDesign CS5 version 7.0.

Its value is a page object in a document, on a spread or a masterSpread. Or its value is null when the object is on a pasteboard.

 

FWIW: parentSpread is not part of the ExtendScript DOM as far as I can see.

The value of parent of an item could be a spread or a masterSpread.

 

Regards,
Uwe Laubender

( ACP )

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
Community Expert ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

Thank you, Uwe.

David Creamer: Community Expert, Adobe Certified Instructor, and Adobe Certified Expert (since 1995)

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
Community Expert ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

Just to confirm that parentSpread wasn't added to the DOM. And as Uwe pointed out, parentPage was introduced much earlier, so that name wasn't even available.

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
New Here ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

Follow up question- I need to create a Master Page for a class assignment, but my InDesign only gives me the option to create Parent Pages. Do you know how I can fix this?

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
Community Expert ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

Are you referring to doing it manually--or via scripting, which is the original question of this post?

If manually, just use the parent menu options. 

David Creamer: Community Expert, Adobe Certified Instructor, and Adobe Certified Expert (since 1995)

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
Explorer ,
Oct 27, 2021 Oct 27, 2021

Copy link to clipboard

Copied

[abuse removed by moderator]

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
New Here ,
Oct 29, 2021 Oct 29, 2021

Copy link to clipboard

Copied

LATEST

[abuse removed by moderator]

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