select object by name or by color

Community Beginner ,
Dec 14, 2020

Copy link to clipboard

Copied

 i have text frame.

i search for script that select text frame by name (name of the object in the layer window), or by color (color of the text fill)

Most Valuable Participant
Correct answer by pixxxelschubser | Most Valuable Participant

Do you really have named text frames?

Or there are only automatically "named" textframes (showing the first part of contents)?

 

Does that works for you?

app.activeDocument.textFrames.getByName("test").selected = true;
TOPICS
Scripting

Views

37

Likes

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

select object by name or by color

Community Beginner ,
Dec 14, 2020

Copy link to clipboard

Copied

 i have text frame.

i search for script that select text frame by name (name of the object in the layer window), or by color (color of the text fill)

Most Valuable Participant
Correct answer by pixxxelschubser | Most Valuable Participant

Do you really have named text frames?

Or there are only automatically "named" textframes (showing the first part of contents)?

 

Does that works for you?

app.activeDocument.textFrames.getByName("test").selected = true;
TOPICS
Scripting

Views

38

Likes

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
Dec 14, 2020 0
Most Valuable Participant ,
Dec 14, 2020

Copy link to clipboard

Copied

Do you really have named text frames?

Or there are only automatically "named" textframes (showing the first part of contents)?

 

Does that works for you?

app.activeDocument.textFrames.getByName("test").selected = true;

Likes

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
Reply
Loading...
Dec 14, 2020 0
aviel222 LATEST
Community Beginner ,
Dec 15, 2020

Copy link to clipboard

Copied

yes!!

thanks!

Likes

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
Reply
Loading...
Dec 15, 2020 0
Resources