Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


how to Create Alternate Layout by script

Explorer ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

Is this possible to mimic functionality of "Create Alternate Layout" menu action in script?

I'd like to create aternate layout based on another alternate layout.

From what I know there is no such methods in InDesign ExtendScript API.

But - maybe is any way to invoke "Create Alternate Layout" menu action from ID user interface and then change by scripting some parameters in dialog of this action?

TOPICS
Scripting

Views

148

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 10, 2021 Jun 10, 2021
Hi Mnietek1, why do you think creating an alternate layout is not covered by the ExtendScript DOM ? See method createAlternateLayout() of the document: https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Document.html#d1e49413__d1e52866 Regards, Uwe Laubender ( ACP )

Likes

Translate

Translate
Adobe Community Professional ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

Hi Mnietek1,

why do you think creating an alternate layout is not covered by the ExtendScript DOM ?

See method createAlternateLayout() of the document:

 

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

 

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
Explorer ,
Jun 11, 2021 Jun 11, 2021

Copy link to clipboard

Copied

Thank you very much! 🙂 I missed that...

By the way - how can I find such information on https://www.indesignjs.de/extendscriptAPI/indesign-latest?

When I search for "AletrnateLayout" I get only this:

Mnietek1_0-1623406405590.png

There is no info about creatAlternateLayout() method...

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 11, 2021 Jun 11, 2021

Copy link to clipboard

Copied

LATEST

"When I search for "AlternateLayout" I get only this:"

 

Best ask this Gregor Fellenz who has compiled that DOM documentation.

 

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