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

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

486

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

Votes

Translate

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

Votes

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

Votes

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

Votes

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