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

How to add some setting for the AA objectStyle?

Guide ,
Aug 11, 2025 Aug 11, 2025

I can't find the size settings.

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

 

//Creat AA ObjectStyle
var wn = [AA];
for (var i = 0; i < wn.length; i++) {
    w = newObjStyle(app.activeDocument, wn[i], emptyStyle);
};

 

I want to set image size, frame,
fit content proportionally, position objects,  wrap text in the script.
Like this:

 

dublove_1-1754965116930.jpegdublove_2-1754965248569.jpegdublove_3-1754965322974.jpegdublove_4-1754965347394.jpeg

 

TOPICS
How to , Scripting
831
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

Guide , Aug 15, 2025 Aug 15, 2025

Hi @Manan Joshi 

Hi @rob day 

I searched for a long time and found that:
There is very little information on setting the width in object styles.
For example, I want to set the width of the “AA” object style to 42 mm.

 

Translate
Guide ,
Aug 12, 2025 Aug 12, 2025
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