all open document layer Spesefic Layer Name search And Select Layer Stop The Script

Participant ,
Jun 20, 2022 Jun 20, 2022

Copy link to clipboard

Copied


if (app.documents.length) {


if (!confirm("", false)) {

throw null;
}

var actDoc = app.activeDocument;


for (var i = 0; i < app.documents.length; i++) {
app.activeDocument = app.documents[i];


sTT = stringIDToTypeID; lrs = [].slice.call(activeDocument.artLayers), ref = new ActionReference()
while(lrs.length) {/^HFrame|HFrame|h$/i.test((shft = lrs.shift()).name) && ref.putIdentifier(sTT('layer'), shft.id)}
(dsc = new ActionDescriptor()).putReference(sTT('null'), ref), executeAction(sTT('select'), dsc)
}

app.activeDocument = actDoc;

app.beep();
alert("HFrame|HFrame This Layer name Selecte")

} else {
alert('You must have a document open!');
}

Views

39

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
community guidelines
Adobe Community Professional ,
Jun 20, 2022 Jun 20, 2022

Copy link to clipboard

Copied

Please let us know which program you are having problems with. Someone will be along to move this post to the appropriate product forum, where you are more likely to get an answer to your question. It would also help if you actually told us what your question is. 🙂

The Using the Community forum is for help in using the Adobe Support Community forums, not for help with specific programs, installation issues, or account issues such as subscription questions or billing problems, or generalized questions about Creative Cloud services.

* Product questions should be posted in the associated product community.
* Installation questions should be posted in the Download & Install community.
* Account issues, including subscription questions or billing problems, should be posted in the Account, Payment, & Plan community.
* Questions about the Creative Cloud desktop app or general questions about apps in the Creative Cloud should be posted to the Creative Cloud Services community.

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
community guidelines
Participant ,
Jun 20, 2022 Jun 20, 2022

Copy link to clipboard

Copied

LATEST

Sorry sr

all open document Spesefic Layer Name search And Select Layer Stop The Script

From all the documents opened in
Photoshop under the name of Layer, I want to search for my favorite document.

name of Layer, I want to search for my favorite document.

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
community guidelines