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

select object by letter

Explorer ,
Dec 17, 2020 Dec 17, 2020

Copy link to clipboard

Copied

i have some frame text. i need script that select me only frame text that Contains a specific word or letter.

For example (attached screenshot): Only a text frame that has the letters "ddd".Screen Shot 2020-12-17 at 20.29.48.png

TOPICS
Scripting

Views

418

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 , Dec 19, 2020 Dec 19, 2020
app.selection = null;
var TF = app.activeDocument.textFrames;
for (i=0; i<=TF.length-1; i++) {
    if (TF[i].contents.match(/ddd/i)) {
        TF[i].selected = true;
        }
    }

Votes

Translate

Translate
Adobe
Community Expert ,
Dec 17, 2020 Dec 17, 2020

Copy link to clipboard

Copied

Please mark your last threads as solved by marking one (or more) solution(s) in these threads as "Correct answer"

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
Explorer ,
Dec 17, 2020 Dec 17, 2020

Copy link to clipboard

Copied

ok

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 ,
Dec 17, 2020 Dec 17, 2020

Copy link to clipboard

Copied

A few other threads with no "Like" or "Correct Answer" only in the last few months.

Please give those tiny credits to the tireless volunteers in our great community. They always tried to resolve most of your questions / problems.

 

crop marks around objects 

need a script to calculate raduis and create frame around shape 

Script correction to measure width and height together 

Height change only in the document 

Need a script for acrobat for free/nominal fee - to change height in document 

 

 

 

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
Explorer ,
Dec 17, 2020 Dec 17, 2020

Copy link to clipboard

Copied

I am very very thankful to everyone !!!

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 ,
Dec 19, 2020 Dec 19, 2020

Copy link to clipboard

Copied

app.selection = null;
var TF = app.activeDocument.textFrames;
for (i=0; i<=TF.length-1; i++) {
    if (TF[i].contents.match(/ddd/i)) {
        TF[i].selected = true;
        }
    }

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 ,
Jan 09, 2021 Jan 09, 2021

Copy link to clipboard

Copied

Hmmh?

No feedback?

 

@aviel222 have you tried it?

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
Explorer ,
Jan 09, 2021 Jan 09, 2021

Copy link to clipboard

Copied

LATEST

!Hi.
No one sent me a message like always.
I really apologize and apologize.
Thank you Thank you Thank you!!!

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