Skip to main content
Brito Haroldo
Inspiring
December 16, 2022
Answered

Balance Columns in text frame options via script

  • December 16, 2022
  • 1 reply
  • 365 views

Hello guys,

I'm looking for a way to mark TRUE/FALSE in "Balance Columns" in the configuration of "Text Frame Options" (CTRL/COMMAND + B) with script but I can't find the way to access it via script.

 

I've been looking for this for days, but google keeps sending me to other things like BalanceRaggedLines which is definitely not what I need. Another source I researched is our dear and valuable "https://www.indesignjs.de/" I don't doubt that the solution is there, but I certainly don't know where to look.

 

Maybe I'm thinking A but the way to do this is B. So thanks in advance for any help.

This topic has been closed for replies.
Correct answer Laubender

Hi @Brito Haroldo ,

look into textFramePreferences:

myTextFrame.textFramePreferences.verticalBalanceColumns = true;

 

Source:

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

 

Regards,
Uwe Laubender
( Adobe Community Expert )

1 reply

LaubenderCommunity ExpertCorrect answer
Community Expert
December 16, 2022

Hi @Brito Haroldo ,

look into textFramePreferences:

myTextFrame.textFramePreferences.verticalBalanceColumns = true;

 

Source:

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

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Brito Haroldo
Inspiring
December 16, 2022

Hi @Laubender thank you very much for your very correct solution!