Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to Create Alternate Layout by script

Explorer ,
Jun 10, 2021 Jun 10, 2021

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
777
Translate
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 , 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 )

Translate
Community Expert ,
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 )

Translate
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

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.pngexpand image

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

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

Translate
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