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

How do I make a script that automatically resizes a text box to fit the text content

New Here ,
Oct 30, 2019 Oct 30, 2019

Copy link to clipboard

Copied

I'm having a problem with text boxes that are not correctly sized which makes aligning (centrering) them diffecult. Now I could resize them by hand, but that would take awhile if I have a few. I could also rasterize them, but then I could no longer edit them anymore. Something I need to do frequently. So I came to the conclusion that the best action was finding another solution for this.

A script seemed like the perfect solution. However I do not know how to script (and don't know the Photoshop scripting rules(?)). Now I have found a script that I could use for the same thing, but in Illustrator and not Photoshop. Which is no use for me because my problem is in Photoshop, but maybe a Photoshop coder knows how to change this to photoshop(?) (http://kelsocartography.com/scripts/scripts/nvkelso/FitToTextContent_v2.jsx)

TOPICS
Actions and scripting , Windows

Views

896
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
Adobe
New Here ,
Oct 30, 2019 Oct 30, 2019

Copy link to clipboard

Copied

Nevermind, I have solved it.

Votes

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 ,
Nov 24, 2023 Nov 24, 2023

Copy link to clipboard

Copied

@RedTempest– What @Stephen Marsh said would be so helpful!!

Votes

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 ,
Oct 30, 2019 Oct 30, 2019

Copy link to clipboard

Copied

@RedTempest 

 

Why don't you share your fix? That way your post will help others in the same situation that are also looking for help, just like you were.

Votes

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 ,
Nov 24, 2023 Nov 24, 2023

Copy link to clipboard

Copied

@RedTempest– What @Stephen_A_Marsh said would be so helpful!!

Votes

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 ,
Nov 24, 2023 Nov 24, 2023

Copy link to clipboard

Copied

@Phil5C41 , could you post screenshots to illustrate what exactly you are trying to achieve? 

Votes

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 ,
Nov 24, 2023 Nov 24, 2023

Copy link to clipboard

Copied

LATEST

Thanks, no screengrabs, but hopefully, my post is self-explanatory, here.

Votes

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