select object by letter

Explorer ,
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

151

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
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"

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
aviel222 AUTHOR
Explorer ,
Dec 17, 2020

Copy link to clipboard

Copied

ok

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
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 

 

 

 

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
aviel222 AUTHOR
Explorer ,
Dec 17, 2020

Copy link to clipboard

Copied

I am very very thankful to everyone !!!

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
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;
        }
    }

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
Jan 09, 2021

Copy link to clipboard

Copied

Hmmh?

No feedback?

 

@aviel222 have you tried it?

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
aviel222 AUTHOR LATEST
Explorer ,
Jan 09, 2021

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more