Skip to main content
Mnietek1
Inspiring
June 10, 2021
Answered

how to Create Alternate Layout by script

  • June 10, 2021
  • 2 replies
  • 875 views

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?

This topic has been closed for replies.
Correct answer Laubender

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 )

2 replies

Community Expert
June 11, 2021

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

 

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

 

Regards,
Uwe Laubender

( ACP )

LaubenderCommunity ExpertCorrect answer
Community Expert
June 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 )

Mnietek1
Mnietek1Author
Inspiring
June 11, 2021

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:

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