How do I search by layer name?
I have this new job where I use like 500 layers in a folder and sometimes I just know the name of an icon and I need to find it fast. Any tricks?
What version of Photoshop do you have??? It helps if you give a better description.
If you have CC then you get the following:
And you can select what you want to search on.
Similar Messages
-
How do I set the layer name?
I am trying to find an example of a way to rename a layer. Everything I try seems to fail.
Anyone have any?I thought I would post the code I was using to see if anyone can figure out why it is not working. I have tried many variables of things similar to below:
error = sPSActionReference->PutProperty(reference, classProperty, keyName);
error = sPSActionReference->PutEnumerated(reference, classLayer, typeOrdinal, enumFirst);
error = sPSActionDescriptor->PutReference(descriptor,
keyNull,
reference);
if (error) goto returnError;
error = sPSActionDescriptor->PutString(descriptor,
keyText,
name);
if (error) goto returnError;
error = sPSActionControl->Play(&result,
eventRename,
descriptor,
plugInDialogSilent); -
How do I search for a name in iCloud Calander
is there a search set-up on iCloud Calander? I want to search by event or name
Regular expressinos work just fine, especially when
searching for patterns. But they seem to be impying
it's a specific group of characters they're looking
for, and indexOf() is much faster than a regex.If he's reading from a file, the I/O time will likely swamp any performance hit that regex introduces. I think contains() (or indexOf() if he's not on 5.0 yet) is preferable to regex just because it's simpler. (And in the case of contains(), the name makes for a very clear, direct mapping between your intent and the code that realizes it.) -
Hi -
Does anyone know if there is a script that can search through layer names within a file for a specific text string and then select it as the active layer?
For instance, if a file has 4 layers, named My LayerX, LayerY, LayerZ, LayerA, I want to automatically search for a layer that has the text "rA" and make it the active layer.
Thanks.This requires CS4 or better. It searchs using a RegExp and Action Manager so it should be very fast. It is set up now to deal with more than one matching layer.
var re = /rA/;// a reg exp
var matches = collectNamesAM(re);// get array of matching layer indexes
for( var l = 0; l < matches.length; l++ ){
makeActiveByIndex( l, false );
// do something with layer
alert(app.activeDocument.activeLayer.name);
}// next match if any
function collectNamesAM(re){
var allLayers = new Array();
var startLoop = Number( !hasBackground() );
var endLoop = getNumberOfLayer();
for( var l = startLoop;l < endLoop; l++){
while( !isValidActiveLayer( l ) ) {
l++;
if( getLayerNameByIndex( l ).match(re) != null){
allLayers.push( l );
return allLayers;
// Function: getActiveLayerIndex
// Description: Gets gets the Action Manager API index
// of activeLayer corrected for Background Layer
// Usage: var idx = getActiveLayerIndex();
// Input: None
// Return: Number - correct AM itemIndex
// Dependices: hasBackground
function getActiveLayerIndex() {
var ref = new ActionReference();
ref.putProperty( 1349677170 , 1232366921 );
ref.putEnumerated( 1283027488, 1332896878, 1416783732 );
var res = executeActionGet(ref).getInteger( 1232366921 )
- Number( hasBackground() );
res == 4 ? res++:res// why the skip in this doc?
return res;
// Function: isValidActiveLayer( )
// Description: Checks LayerSection for 'real' layers
// Usage: if( isValidActiveLayer() )
// Input: None
// Return: Boolean - True if not the end of a Set
// Notes: Needed only if the layer was made active
// using Action Manager API
function isValidActiveLayer( idx ) {
var propName = stringIDToTypeID( 'layerSection' );// can't replace
var ref = new ActionReference();
ref.putProperty( 1349677170 , propName);// TypeID for "Prpr"
// 'Lyr ", idx
ref.putIndex( 1283027488, idx );
var desc = executeActionGet( ref );
var type = desc.getEnumerationValue( propName );
var res = typeIDToStringID( type );
return res == 'layerSectionEnd' ? false:true;
// Function: hasBackground
// Description: Test for background layer using AM API
// Usage: if( hasBackground() );
// Input: None
// Return: Boolean - true if doc has background layer
// Notes: Requires the document to be active
// DOM: App.Document.backgroundLayer
function hasBackground(){
var res = undefined;
try{
var ref = new ActionReference();
ref.putProperty( 1349677170 , 1315774496);
ref.putIndex( 1283027488, 0 );
executeActionGet(ref).getString(1315774496 );;
res = true;
}catch(e){ res = false}
return res;
function makeActiveByIndex( idx, forceVisible ){
try{
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putIndex(charIDToTypeID( "Lyr " ), idx)
desc.putReference( charIDToTypeID( "null" ), ref );
desc.putBoolean( charIDToTypeID( "MkVs" ), forceVisible );
executeAction( charIDToTypeID( "slct" ), desc, DialogModes.NO );
}catch(e){ return -1;}
function getNumberOfLayer(){
var ref = new ActionReference();
ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
var desc = executeActionGet(ref);
var numberOfLayer = desc.getInteger(charIDToTypeID("NmbL"));
return numberOfLayer;
function getLayerNameByIndex( idx ) {
var ref = new ActionReference();
ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "Nm " ));
ref.putIndex( charIDToTypeID( "Lyr " ), idx );
return executeActionGet(ref).getString(charIDToTypeID( "Nm " ));; -
I recently switched from PC to Mac and notice on the Mac
version of Flash CS3 there are sometimes asterisks that appear next
to the layer names. I have never noticed these before so I assume
it is a Mac thing....anybody know what the asterisks mean??Thanks Todd.
The second link explains how to switch from the Layer Name to the Source
Name view in the Timeline panel. It doesn't state that when the Layer
name is the same as the Source name, brackets appear around the name in
the Layer Name view. But...now that I've switched back and forth between
the two views, I see that's what's going on.
I added a comment about this in the Help file.
======= -
[SOLVED] search just package name (not description) with yaourt
Is there a way to search just package names (not package descriptions) with yaourt or pacman? I'm imagining something like this:
$ yaourt -Ss --pkgname-only xterm
Thanks!
Last edited by partner55083777 (2010-02-03 16:30:43)My question still stands as to how I can search just package names. If it is using another program other than yaourt or pacman, that is okay.
"yaourt -Ss SEARCH_STRING" has been working as stated in the documentation for me (with yaourt-0.9.2.6). It will return all packages that have SEARCH_STRING in either the package name or package description.
Here are the first three results when running this command:
$ yaourt -Ss emacs
extra/emacs 23.1-3 [installed]
The Emacs Editor
extra/snd 10.1-1
Snd is the emacs of sound editor
extra/texmacs 1.0.7-3
GNU TeXmacs is a free scientific text editor, which was both inspired by TeX
and GNU Emacs. WYSIWYG editor TeX-fonts and CAS-interface (Giac, GTybalt,
Macaulay 2, Maxima, Octave, Pari, Qcl, R and Yacas) in one.
$
It looks like it works as specified in the man pages:
-s, --search <'regexp'>
This will search each package in the sync databases for names or descriptions that match regexp.
When you include multiple search terms, only packages with descriptions matching ALL of those terms will be returned.
Last edited by partner55083777 (2010-02-02 22:10:24) -
How can I search by company name on the Centro? I can "sort" by company but I haven't found out how to search for a specific company name. Of course I can search by the person's name, but I don't always remember the person.
Paul Gipe
centro, unblocked, T-mobile
Post relates to: Centro (AT&T)IrreducibleM31 wrote:
Thank you for using the Palm Help Forums
Hit the black or white button on the bottom left next to the letters (A), (S) and (Z) keys. Then hit the button with the UP arrow and magnifying scope under the (Z) and (X) key. You should then see a prompt with a find; enter the company name and all the people who work at that company will show up.
I hope this works if not post back.
Message Edited by IrreducibleM31 on 07-25-2008 02:39 PM
Using the O/S's Find function is NOT a decent answer or a fix for this problem. Only a very clumsy workaround.
See my message at this thread on this forum as to why it is such a bad way to have to do this.
Why can't Palm get this fixed? It should work the way it use to so that typing a company's name takes you to the company's record, EVEN IF YOU DO HAVE ENTRIES IN THE FIRST NAME OR LAST NAME FIELDS. This bug has existed going on over 3 years now.
There is no way this thread should be marked as solved, IMHO.
The journey of a thousand miles begins with a broken fan belt and leaky tire.
Post relates to: Treo 680 (Cingular) -
Layer names: brackets and rectangles
Layer names sometimes have square brackets around them. Others have rectangles. What do the brackets and rectangles signify?
Thanks Todd.
The second link explains how to switch from the Layer Name to the Source
Name view in the Timeline panel. It doesn't state that when the Layer
name is the same as the Source name, brackets appear around the name in
the Layer Name view. But...now that I've switched back and forth between
the two views, I see that's what's going on.
I added a comment about this in the Help file.
======= -
how can i print specific pages against searched word or name (in one print command) from 1000 pages
Thanks, Alex!
ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
I don't try second approach, because at this time I have only one report
I try also with VB macro: this is better (print3.vi) but.....if I use:
Sub Print_Pages_From_To()
ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
End Sub
is ok; print the pages selected; if I use:
Sub PrintPages()
ActiveDocument.ActiveWindow.PrintOut Pages:="2-3"
End Sub
printer print all pages.
what do you think?
regards,
Italo
Attachments:
print Problem.jpg 39 KB
print4.vi 19 KB
print3.vi 19 KB -
Hello, all.
In iTunes 11.0.2.26, an Albums search by track names returns albums as if they only have one track on them, but I still want to access the entire album. How can I have the search results show the entire album (with just the searched for name highlighted)? For instance, I'm wanting to play an album with a particular track on it or I'm searching for albums that include that track. iTunes incorrectly assumes that all I'm after is that one track and then incorrectly displays the album as if there is only one ttrack on it. This is a bonkers default setting. Can I change this?Click the search magnifying glass and uncheck "Search entire library".
Type in the name of the track.
Click the album of interest to show tracks.
Select the track.
Press the X in the search box to clear the search.
Double click the track you want to start playing first.
tt2 -
how do i search for a photo album when i use the search facility on my iPad or iPhone it will not find photo albums of a given name can anyone help
Photo albums are not searched by Spotlight Search. Go to Settings > General > Spotlight Search to see and reorder the available search items.
For more details, see page 12 of the iPad iOS 5.1 User Guide -
How do I search for a specific name of an email sender?
I'm trying to locate, in the easiest way possible, a name that should have appeared in my inbox... How do I search for a specific name?
type it in the big box on the toolbar and press enter.
-
How do I search for a bookmark folder by name in Safari?
How do I search for a particular bookmark folder in Mac Safari 7.06? Since there seems to be no automated way to sort the folders (as in other browsers), in a long list of folders, a particular one can be hard to spot. Yes yes, very similar to a previous question of mine. -jan
Click "Help" menu in the Safari menu bar and enter the folder name in the search box.
-
How do I copy PARTS of layers containing many objects from one CS5 AI (v.15.0.2) doc into a new CS5 AI doc and keep/create the same layer names?
To start with, I have one fairly complex AI document with 100 layers, with several hundred items in each layer. For example, one layer named "Stars" contains 400 separate stars (not grouped), another layer named "Crosses" contains 300 separate crosses, and a 3rd layer named "Text" contains 200 separate words (not outlined).
If I select, by marqueeing a section of the image/artboard, some (but not all) of the individual items contained in the several layers, then paste that selection into a new CS5 AI doc, I cannot get them to create new layers of the same name. Instead they go into one general layer (e.g. "Layer 101") as a jumble of discrete, but unorganized objects (no layers or sublayers). In other words, I have lost the 3 main layers from which I selected a bunch of objects.
Checking "Paste Remembers Layers" has no effect on this result. In fact "Paste Remembers Layers" does not remember layers at all. Only if I select ALL the items in the several layers will it paste those layers by those names into the new doc (or create new layers of the same names).
Of course it is a COLOSSAL waste of time copying the ENTIRE document, then pasting the WHOLE thing into the new doc (with layers retained), then deleting the parts I DON'T need, so please don't suggest that as the solution.No Monica, nothing in Plug-ins other than the standard installed items (extensions, filters, formats, etc.). No 3rd-part clipboard extension on my computer that I'm aware of, either. All frustratingly basic. And my other CS5 Adobe programs appear to work well, at least to the extent that I am familiar with them.
So, from what I can tell of the various comments (thanks to all of you), am I correct in thinking that it seems I can't, in fact, do what all of you can do (that is, copy some objects from some layers in one doc and paste into another doc preserving those same layers by name and organization, and each containing the correct objects from each original layer)?
If so, that solves half my issue - "is it supposed to be possible to do it"; leaving just the other half - "why can't I do it too".
I'll get those screenshots made and posted later just in case I haven't adequately described the issue, or y'all haven't understood it. -
For some artists in my Music app on my I-phone, the songs do not appear when I search by the artist. However, if I search the album name, all the songs show. How do I get the songs to show under songs?
Hi Spam_Valley,
I understand that you are having issues with your music displaying correctly. This may be an issues with the metadata stored within that song, and iTunes interpretation of that info.
We may need to repair this. See the following resources for information:
iTunes 10 for Windows: If song titles don’t appear correctly
http://support.apple.com/kb/PH1468
Fixing Incorrect Song or Album Listings in iTunes
http://support.apple.com/kb/TA24677
Thanks,
Matt M.
Maybe you are looking for
-
Read image raw data without creating image
Is there any way to read image raw data into an array from a file but not creating an image ? I looked through ImageIO. It seems that every time an image reader is called , a bufferediamge is created or reused ? Tanks fro any advice.
-
I was trying to figure out why breakpoints were working fine for source files in some locations but not others. FlashDevelop's debugger (which I believe is actually the FLEXSDK debugger) was successfully connecting, tracing output, and hitting break
-
Help please. Vista / CS3 Color Managment issue. Going nuts...
Hi all. I'm in desperate need for some assistance since time is running out on a project that needs Powerpoint. If I use color management in Bridge and look at my NEF and Jpegs they look somewhat desaturated and lacking vibrance as in comparison to a
-
How can I get Lion after purchasing completely?
Hi, I bought Lion OS X 10.7 yesterday and all of the processes are completed. Then Where can I get this? I didnt get any email contains download links and the order details on mac online store show nothing about this. So I just want to return it. Any
-
Help me about (status Message)
Hi, I don't know why I can't change my (status Message), its about 2 weeks. Waiting your answer. Regards,