• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

Is there any script to find out hidden textframes

New Here ,
Sep 01, 2020 Sep 01, 2020

Copy link to clipboard

Copied

HI everybody,i have four textFrames in the layer,the content is "24","32","15","48".But as show on the image,the TextFrame of "24" and "48" is hidden because of large font size.so i hope to pick out the textFrames which are hidden and change the font size for them.Is there any way to do this by script? ---Sorry for my poor english..å¾®äæ”图ē‰‡_20200902143124.png

TOPICS
Scripting

Views

311

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

Advocate , Sep 02, 2020 Sep 02, 2020

 

 

Bonjour,

VoilĆ  une Ć©bauche de script,

pour plus de dƩtails, me contacter par mail.

elleere

SĆ©lectionnez un texte captif "AREATEXT"

 

 

// JavaScript Document
// text essai voir.js
// De elleere Landry RenƩ
// Wed, 2 September 2020 16:01:11 GMT
// INIT --------
var pas = 5;
//--------------
var origObjet = selection[0];
var corps = origObjet.textRange.characterAttributes.size;

var duplicObjet, hauteur = -10;
    while (hauteur < 0)  {
       var VecText;
          duplicObjet = origObjet.duplicate(or
...

Votes

Translate

Translate
Adobe
Community Expert ,
Sep 02, 2020 Sep 02, 2020

Copy link to clipboard

Copied

What you would need to search for is not "Hidden" text, but "Overset" text.

I'm not sure if there is a script available.

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
New Here ,
Sep 02, 2020 Sep 02, 2020

Copy link to clipboard

Copied

Thanks,it's helpful and i find some answers.Mostly suggest to use  "JET_AutoFitVertical.jsx" but the download link is not available any more.

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 ,
Sep 02, 2020 Sep 02, 2020

Copy link to clipboard

Copied

Autofit won't help you a lot, because it adjusts the textframe, not the text. Also I'm not sure if it will work on irregularly shaped textframes.

 

But if you wish to try that, there is a script to adjust frame height on Kelsocartography.com

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
Advocate ,
Sep 02, 2020 Sep 02, 2020

Copy link to clipboard

Copied

 

 

Bonjour,

VoilĆ  une Ć©bauche de script,

pour plus de dƩtails, me contacter par mail.

elleere

SĆ©lectionnez un texte captif "AREATEXT"

 

 

// JavaScript Document
// text essai voir.js
// De elleere Landry RenƩ
// Wed, 2 September 2020 16:01:11 GMT
// INIT --------
var pas = 5;
//--------------
var origObjet = selection[0];
var corps = origObjet.textRange.characterAttributes.size;

var duplicObjet, hauteur = -10;
    while (hauteur < 0)  {
       var VecText;
          duplicObjet = origObjet.duplicate(origObjet,ElementPlacement.PLACEAFTER);
          VecText = duplicObjet.createOutline();
          hauteur = VecText.height;
            if (hauteur < 0) {
              corps -= pas;
              origObjet.textRange.characterAttributes.size = corps;
            }
          VecText.remove();
    }

 

 

 

 

 

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
New Here ,
Sep 02, 2020 Sep 02, 2020

Copy link to clipboard

Copied

LATEST

Hi,Thanks for you answer, it's a good 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