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".
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;
}
}
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"
Copy link to clipboard
Copied
ok
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.
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
Copy link to clipboard
Copied
I am very very thankful to everyone !!!
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;
}
}
Copy link to clipboard
Copied
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!!!