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

Changing Text Field(create from buttons and forms) Height using InDesign Scripting?

Engaged ,
Jul 13, 2024 Jul 13, 2024

Copy link to clipboard

Copied

Hi everyone,

I'm working on a project in Adobe InDesign where I need to dynamically adjust the height of textFields (create from buttons and forms) using scripting. I've explored the scripting documentation but haven't found a straightforward way to achieve this. Could someone please guide me on how to modify the height of atextFields (create from buttons and forms) programmatically in InDesign? Any examples or pointers would be greatly appreciated!

Thanks in advance!

Thanks,
Prabu
Design smarter, faster, and bolder with InDesign scripting.
TOPICS
Experiment , Feature request , Scripting

Views

328

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 , Jul 13, 2024 Jul 13, 2024

Why scripting?

use an appropriate object style. 

Votes

Translate

Translate
Community Expert ,
Jul 13, 2024 Jul 13, 2024

Copy link to clipboard

Copied

You need to modify geometricBounds property of the TextFrame.

 

And you should correct title of you post - "text field" - used in interactive PDFs - is something completely different than "text frame". 

 

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
Engaged ,
Jul 13, 2024 Jul 13, 2024

Copy link to clipboard

Copied

Thanks for your response.

I have created the script to change the height of the text frame, and it is working perfectly. But I need to change the text fields (created from buttons and forms) height size.

Thanks,
Prabu
Design smarter, faster, and bolder with InDesign scripting.

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 ,
Jul 13, 2024 Jul 13, 2024

Copy link to clipboard

Copied

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 ,
Jul 13, 2024 Jul 13, 2024

Copy link to clipboard

Copied

Why scripting?

use an appropriate object style. 

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
Engaged ,
Jul 13, 2024 Jul 13, 2024

Copy link to clipboard

Copied

LATEST

Thank you @Willi Adelberger 

Thanks,
Prabu
Design smarter, faster, and bolder with InDesign scripting.

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