Gel layer in group folders

I would freeze a layer of control. This layer is sometimes repeated several times and can also be within many subfolders in layer groups.

Currently, it is not a recursive function and I don't know how to add a.

This is what I currently have

if(app.documents.length>0){
    app.activeDocument.suspendHistory ('Hide Check Layers', 'HideCheckLayers()');
}
function HideCheckLayers(){
  var doc = app.activeDocument;
  var hideLayer = "Check Layer"; // Layer name to freeze

  for (var i=0; i < doc.artLayers.length; i++){
  if(doc.artLayers[i].name==hideLayer){
  doc.artLayers[i].visible = false;
  }
  }
}

Make these changes:

#target photoshop
if(app.documents.length>0){
        var doc = app.activeDocument;
        app.activeDocument.suspendHistory ('Hide Check Layers', 'HideCheckLayers(doc)');
    }
    function HideCheckLayers(lay){
      var hideLayer = "Check Layer"; // Layer name to freeze  

      for (var i=0; i < lay.layers.length; i++){
          var currentLayer = lay.layers[i]
          try{
          if(currentLayer.layers.length>0){HideCheckLayers (currentLayer)}
          }
      catch(e){}
      if(currentLayer.name==hideLayer){
     currentLayer.visible = false;
      }
      }
    }

Tags: Photoshop

Similar Questions

  • I still do not see where REMOVE them or even to add names to the created group folders.

    I just downloaded thunderbird and import my address book. I want to remove some old files group and add a few names of other former group folders. all the options to remove are grayed out.
    When you try to add a name to a group, I can add and click ok, but when I go back, it isn't here.
    In addition, a new group that I put up is stored under the "personal address book", but will not be saved in a new group. the folder appears - twice in fact under the "Mac OSX address book" with no address in one of them... AND I can't delete them or some old bands I want more.

    I am a beginner and not that computer savvy, you please without irritable complicated instructions. I had rather you just shoot me.

    If you are not satisfied with the jump between address books, you might look at tools | Import in Thunderbird address book and see if she invites you to import the mac address book in Thunderbird. So Thunderbird can show you the mac address book, but it's not quite accurate to describe this as having been 'imported '.

    This leaves still worry about what's going on in your personal address book, you should be able to add and change entries, including mailing lists.

  • How to group folders or files in alphabetical order (A, B, C, D, E, F,...) in windows 7.__Please Suggest.

    I M working on windows 7 ultimate and I did not find any option to group files or folders in alphabetical order, as in windows XP for example A, B, C, D etc separately. Well, there is an option available to the group by name, but this option actually group the items in the collection from A to H, I I-P, Q - Z.
    Please suggest me any option if they are available in this "Last" operating system, otherwise I'll have to go back to windows XP, because I have a lot of data in the range A - H, Q - P etc and I don't want to waste my time to find my articles in these piles (A - H, Q - P etc.)

    Please suggest.

    I think that this changed with Vista, and there is no way to change this for the
    How XP...
    I found this on Vista and I guess that's the same for Win 7...
    --
    Dave N.
    MS - MVP (Mail)
    Windows 7 Ultimate 64
    "Raj.Tones" wrote in message
    News: * e-mail address is removed from the privacy... *
     
    I M working on windows 7 ultimate and I didn't find any option group
    files or folders in alphabetical order, just like in windows XP, i.e. A, B, C, D
    ... etc. separately. Well, there is an option available to the group by name, but
    This option is to group the items in the collection from A to H, I I-P, Q - Z.
    Please suggest me any option if they are available in this "Last" operating system
    otherwise I'll have to go back to windows XP, because I have a lot of
    given in the range A - H, Q - P etc and I don't want to waste my time to find my
    items in these piles (A - H, Q - P etc.)
     
    Please suggest.
     
     

    Windows 7 Ultimate 64

  • Organize the all programs list in group folders

    Up to Windows 7, I could combine my programs in the list of all programs into folders (such as 'Software Development Apps' or 'Windows Apps').  But I'm not (so far) able to do this with Windows 7 and my programs list is too big.  Is there a way to group applications in Windows 7?

    Hi Dcowan,

    ·         What happens when you try to drag and drop programs in the folder?

    Personally, I tried to consolidate programs in all programs in Windows 7 and I was able to do the same.

    You should be able to do the same thing.

    You can select the program in all programs, drag the program to the necessary folder where you want to add and drop.

    Thank you, and in what concerns:
    Swathi B - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Layer mask groups converted from work plans to the size of the artboard in older versions of Photoshop

    I wanted to start this post as an idea, but I couldn't choose communities (it wouldn't let me), so here it is posted...

    ----

    Just came across this with a customer...

    I use for a mobile design project work plans, and I just got a screenshot with some texts asking why among work plans were really great. Way bigger than a phone. (I'm under NDA and cannot post the screenshot, but imagine there are a lot of iPhone size work plans and two of them seem to be at a right angle)

    I opened the file and on my end, everything is the right size. Remembering the weeks ago to tell the customer that they need to update their version of Photoshop for all this work correctly, I have take a look at the screenshot and see that they are on CC2014 - none of the work plans.

    What I'm asking here, is that, since we have data, plans of work are objects of a defined size and 'alive', why not just use these data to hide layer groups at the opening of the PSD / PSB (PSB in my case) in older versions of Photoshop?

    It could save you a TON of hassle and confusion.

    Hi Zack,

    High level to your query response is: no, there is no conduct business case for a general solution to what you are suggesting. So I don't see what is happening.

    I say that as someone who likes to give back and forth and backward compatibility.

    There are two parts of the problem that you raise. They are related and somewhat intertwined.

    1. Having the version previous (2014) do something reasonable with the data from the version the most recent (2015). Either the old version should be taught on the most recent data so it can make a decision about what to do, or the newer version must put additional data in the file format for consumption by the older version.
    2. Back and forth between versions. As you say, a much more difficult problem. In fact, we do a good job of that today. But we must be sure that whatever we do for (1) not to damage and back the wrong way.

    Let's be very clear: 2014 will not be touched, except for critical bugs, absolutely. And even before 2015 is released, it would have not been corrected to make it behave better with work plans. There is no way that I could see what is happening. So all we have done for better backward compatibility had to be entirely done within 2015.

    For the round trip, the general problem is something like this: we want to 2014 to read an object that has properties of 2015, he does not understand. While we might learn ch to keep these properties as opaque property, must also have rules for when these properties are not valid and thrown on the floor. Probably, if the object is changed. But not always. And sometimes when another object parent is changed. And so on. Right now, we destroy them unknown content from their reading in the old version. Make us and record what we understand. As a user, you receive an alert telling you that we are do this. It's the safest thing to do.

    There are special cases where a developer can see an opportunity to preserve a level of backward compatibility and back and forth. We try to do if we believe that it is safe. But this scenario happens only occasionally.

    In the case of work plans, made us really think about this: If we added a mask to the group for backward compatibility, it should do something with this mask reading around 2015. And what would happen if the user edited this mask in 2014 and opened upward in 2015 - and who edited mask do not align with the structures of the artboard? Things started to get dark quickly. We started to see traps. The workflow together to sheath special round trip had to be tested and verified. The cost was rising and this expense must be filtered through a cost/value trade-off. And then what happens when we add a new property to the structure of work plan? At these efforts for nothing?

    So we compromised with what you have today. Work plans become groups in 2014. The Group and the layer structure remains intact. Doesn't secretly add us and remove masks for the round trip. You can safely change the groups to your heart's content. When return you this document in 2015, you redo the work plans of the groups. Was not clear and safe way to do more than that given the time that we had.

    Take a step back and think about your problem, it doesn't seem to be a value to a script that converts group work plans + layer masks for your workflow to have your documents that is consumed by the customers of 2014. This would be carried out in 2015 because she would need understand the work plans. And maybe vice versa from 2014 to 2015, assuming that the documents were not published in a hostile way. We're not likely to write such a script as a generic tool, but someone competent with script might be able to do this.

    More that I intend to write, but hopefully, it gives you additional insight in the compromises that we have faced.

  • several layer of Group of

    Hi all:

    I learned to use the aggregator of coherence, it is an example:
    GroupAggregator aggregator = GroupAggregator.createInstance(prop, new BigDecimalAverage(target));
    Map<Object, Object> ret = aggregate(filter, aggregator);
    It works fine, the problem is that if I want to group by on more than one property, what is the best practice? Say, I want to group by 'date' and 'currency', the fig, the average of the 'species', and what is the appropriate data structure to hold the result?

    Thank you
    John

    Hi John,.

    Assuming that your value object has attributes: salary, age, State; using aggregator of group, you can find the group average according to the age and condition as below:

    Aggregator of GroupAggregator = GroupAggregator.createInstance (new MultiExtractor (new ValueExtractor [] {new ReflectionExtractor ("getState"), new ReflectionExtractor ("getAge")}), new BigDecimalAverage("getSalary"));
    Object result = cache.aggregate (AlwaysFilter.INSTANCE, aggregator);

    I hope this helps!

    See you soon,.
    NJ

  • Motion of Photoshop Workspace Import/layer group

    Rather than having hundreds of layers in a movie file, I want to change (rough trim, sound no matter what), save or copy these sections or chapters in separate files, then import these video groups (even if it is flattened like a dot PSD file) in the timeline file film distinct to organize together and final assembly.

    Obviously a cant just Ctrl C, Ctrl V a layer or group because copies and plunges the clip original raw not the edited clip in the timeline.

    There is probably a simple answer, but I can't seem to import a PSD to point to another file. What I can do is make a video file, which means the selection of codecs and output parameters, and then import this file. Gets quite difficult to handle.

    Does anyone have advice. IM on Photoshop whatever they claim the monthy tenant and its fine for what I do. I don't have a Prime Minister pro.

    Thank you

    Just in case where someone has the same investigation and an apology Im only new to this.

    Edit your clips and and file save in a selected folder, you can easily keep track of. Photoshop will assign the file save a .psd (which is the default format it converts when he reads the file from your camera in photoshop) If you want to still edit later by default leave "layers" checked in your backup routine.

    When you want to bring your clips in your movie editing, save the edited clips (as copies, whatever) but uncheck "layers" in the Save dialog box and it will flatten the clip .psd file.

    In your movie file its probably safer to create a new group of video / add media items / your folder and tick 'all formats. In mine, "all sizes" are the last in the list and for some strange reason, hides the bottom of the page. That is, if you do not, select any format, to half way down to spread it, and then select your format again and the list will read this final selection down to reveal "all the Formats.

    You can change all your clips the camera safely and then put them in your film without first making it on a video format and waste hours of time. Photoshop is not stupid.

    Until I mentioned flatten clips edited, if you forget to uncheck "layers" on registration of your edited clip, it will always be important the clip of .psd not flattened without showing the layers in the layers panel, and you will be able to see and play. But as soon as you touch it, you will get an error message and it will disappear.

  • Layers in the file groups, preserving the directory structure

    I have a PSD of organized thmebnails using layer groups and I want to export individual layers as files, but keep them in folders which mimic the names of layer group.

    For example:

    PSD layers palette:

    Alpha layer group

    Layer 1

    Layer 2

    Layer 3

    Layer Beta Group

    Layer 1

    Layer 2

    Then when I save the layers in files, I want to automatically be able to create a folder called layer Alpha group and put 1 layer, layer 2 and layer 3 as individual files inside. Create a folder called layer group Beta, then do the same with these files, etc.

    What is a thing?

    Thanks in advance for any help and advice.

    This should create the folders out of the paths of documents and save layers as JPEGS...

    #target Photoshop
    app.bringToFront();
    main();
    function main(){
    if(!documents.length) return;
    var doc = activeDocument;
    var LayerSetLayers=[];
    var lSets = getLayerSets();
    for(var z in lSets){
    var lset = getChildIndex(Number(lSets[z]), true );
    LayerSetLayers[Number(lSets[z])] = lset;
    }
    var allLayers=new Array;
    for(var s in lSets){
        var layerSetTemp = LayerSetLayers[Number(lSets[s])];
        for(var f in layerSetTemp){
            allLayers.push(Number(layerSetTemp[f]));
            }
        }
    for(var a in lSets){
        var layerSetName = getLayerNameByIndex( Number(lSets[a]));
        var outputFolder = Folder(doc.path +"/" + layerSetName);
        if(!outputFolder.exists)  outputFolder.create();
        for(var t in LayerSetLayers[Number(lSets[a])]){
            selectLayerByIndex(LayerSetLayers[Number(lSets[a])][t]);
            dupLayers("temp");
            var saveFile = File(outputFolder + "/" + activeDocument.activeLayer.name + ".jpg");
            SaveJPEG(saveFile,8);
            app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
            }
        }
    };
    function getLayerSets(){
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
       var count = executeActionGet(ref).getInteger(charIDToTypeID('NmbL')) +1;
       var Lsets=[];
    try{
        activeDocument.backgroundLayer;
    var i = 0; }catch(e){ var i = 1; };
       for(i;i		   
  • Adding a double layer of a line drawing makes lines look more dark / thickest. The more layers, the thicker the lines themselves.

    I draw the picture of drawing line type "Cartoon", with a size of pressure brush hard. When I duplicate the layer to place over it, the lines appear darker and thicker. The more times I copy the layer, thick lines get. (See pictures attached). until finally almost all of the white in the hair of the woman disappeared.
    The layer is brush only, on a white background which is on its own layer.

    The opacity of the layer is 100% brush opacity is 100%.

    Layers are set to normal.

    I have reset my preferences, and I have the reset tool.

    I paint with a Wacom Intuos Pro and also deleted / reinstalled the drivers for it, so reset the service.

    So, how to stop this?

    I need to duplicate these layers and keep them looking for the same thing, that the final product (an animation videoscribe) needs adding progressive layers to the image that I added in the different elements. (Ps has not always done this... it has been progressively worse... it used to work very well.)

    Please let me know if you need more info, I joined as a lot of images that I think would help.

    pharmacist window layer 1.pngpharmacist window layer 2.png

    woman layer 1.pngwoman layer 2.png

    l.PNGb.PNGb2.PNG

    whenever you draw no straight lines... Photoshop, it's what we call 'smoothing' it creates intermediate pixels in order to avoid the cut edges

    you, the layers are Transparent

    one way to avoid this:

    to add a white background below each layer and group them, then duplicate the Group

    Another way,

    Duplicate the layer and set the difference blending mode

  • multiple bevel effects on a single layer?

    Hello, I decided to participate in the PSCC, and already, I was really happy to know that there is support for layer on groups in CC effects, but in the latest version there is even support to add multiples of the same type of effects on a layer (for example, "stroke") but not all the effects have this option. I was wondering (and hope!) if it's something that will be in a future update?

    As a more minor feedback, I have also not found a way to remove additional effects: say that I added 4 effects of 'coup' in a single layer, that I have not found a way to remove the extra 3, I have created. It would be really awesome if the whole layer effect function has been more than one function "on demand" where you can freely add/remove as many effects of each type as you want and start with a clean slate "" so to speak.

    In any case it is certainly moving in the right direction for what I use it for.

    Thank you!

    The effects of additional weather elimination:

    You can either click on one of the traits in the layers panel and click the trash downstairs, or

    Double-click the effects above the strokes in the layers panel, select the stroke and click on the trash can in the layer Style dialog box.

  • Select the layer name

    I need to select a specific layer or group by name.  What is the correct syntax to do this with Javascript?

    you want to select all the items on the layer? or only some types (e.g., blocks of text, groups, paths)?

    Let's take a look at the same time.

    Let's start by selecting all the elements on a given layer (in this case the layer is called "Target layer");

    Note that pageItems means that any element of art in the document. could be text, could be a path, can be a group, could be a compound path.

    var docRef = app.activeDocument;
    var layers = docRef.layers;
    var myLayer = layers["Target Layer"]; //this defines the layer that you want to get the selection from
    
    docRef.selection = null; //ensure there is nothing in the document selected already. this way you only get the selection you want.
    for(var a=0;a
    

    now lets do the same thing, but we will choose just the groupItems

    var docRef = app.activeDocument;
    var layers = docRef.layers;
    var myLayer = layers["Target Layer"];
    
    docRef.selection = null;
    for(var a=0;a
    

    and finally, in order to be comprehensive, allows to select two different types of art objects, but not all types. For example, if a single layer has text blocks, groups, paths and transparent traces. Let's just select managers of related texts and groupItems. This time we will have to include a conditional statement to find the correct item types.

    var docRef = app.activeDocument;
    var layers = docRef.layers;
    var myLayer = layers["Target Layer"];
    
    docRef.selection = null;
    for(var a=0;a		   
  • Change all paths in a layer without using a layer appearance attribute

    I suspect I did it wrong for a while, but I don't know how to do it right.

    If I want to change the appearance of all paths in a layer (say, something simple to change their line color), it is pretty easy to target in the layer by clicking on the button of the target layer. However, when I do change (as outline in orange color setting), it appears in the appearance of the layer itself - each element within the layer are not orange line directly in their appearance attributes, they just inherit the appearance of the layer attributes.

    I understand that this is the intended behavior, but I found that it's easier for me to avoid the layer effects and have just each element in a layer to be autonomous and show all its own attributes of appearance without something inheriting from the upper layer (I tend to forget and be confused about when they appear). However, I don't know how to force the appearance of a layer down to its subcomponents (likely the compensation of the appearance of the layer to avoid duplication). Is it some commands I'm missing?

    Now how I do it, it's all in the layer by using the layer target, then UN-target target the highest member of the layer. This allows me to change the appearance of all items in the layer (except the one at the top) without changing the appearance of the layer itself. Then I do the top separately. Seems kludgier than she should be. Any help? Thank you.

    tqrtuomo, I was confused by the present, sometimes as well and made the same thing you describe. I think the key, when selecting on a given layer or group is to click on the 'right' of the 'Target' button in the layers panel to the layer/group level. Make sure that there is no 'circle' around the target button or appearance will be assigned to the layer/group.

  • Layer Palette list jumping around on DSP with multiple work plans

    Just upgraded to Photoshop CC2015, and I'm doing a work of mobile design - work plans are perfect for this kind of work, so I decided to take advantage of the new functionality of the artboard. Now, a lot of actions that update of content in the palette layers (duplicate elements, for example), force the selected item to be concentrated in the top of the layers palette. This means that my layers are constantly scrolling themselves around and making it physically exhausting to use Photoshop. I'm on a retina screen 27 "(5K iMac)." Not only did I get distracted by the pallet to move, I have to also remember where I was still in the palette (layers are named, but I have 26 work plans, so it's a lot.), then scroll around to get there.

    Also, when I delete the layer, the palette groups of select and focus parent of the deleted group at the top of the list. In this case, let's say I duplicated only accidentally an item (and then removed), then I have to realize I've been teleported elsewhere and find my way back.

    I know the new behavior of items being placed in groups now sitting at the top instead of the bottom of the group - is not that, but maybe a bug related to this new behavior?

    This issue does not appear to occur in PSD who did no work plans.

    Hi Zack,

    There is bug here that is being developed at the present time in development.

    When you choose the command duplicate the layer (or group of two copies) and the layer is a work plan, it is moved to the top of the layer stack and then re-nested in the above work plan that can hold the layer. When nested in a work plan, the layer is placed on top of the stack in the artboard. Most of the time, it seems just the layer gets duplicated upward from the current artboard, but in some cases, as you have discovered, it can actually go to another plan of work.

    Of course, this is problematic.

    The workaround for now is option and drag the layers in the layers palette to explicitly in the order of desired layer stack.

    In addition, there are a number of other behaviors that you describe in this thread that I think can also be problematic, but he'll have to look more carefully. Thanks for the information and please let us know if you see anything that affects your workflow with work plans.

  • Why is there no page groups or groups of States?

    Another question because I just joined the forum.

    Why is there not an option for the States and group pages?  That would make my organizational life a lot easier if I could group all related pages and States in group folders, just like diapers.

    This seems very reasonable. During HTML export, these page groups could establish a hierarchy of folders in the root folder of the Web site.

  • Newbie question, object remains under all other objects on the layer?

    I am trying to create a logo with a piece of glass and the shadfows. Now there is something funny. On a layer, an object remains in each layer. By dragging it in the layers panel, the object is placed on top. Tried ctrl_x, then ctrl-f, but the rest of the object from all other objects. But in its place on the top panel layer?

    TIA

    check each object and the layer and group: I did and it works as it shoul and black apears on top...

    Check again...

    G

    Also create new layers for each object, and then drag the object (Group) layers of diff.

Maybe you are looking for

  • Neck of iTunes?

    What is it and how does it work on a Apple Watch?

  • 9.3 Ibooks IOS disappear after sync icloud

    I just updated in 9.3 and opened ibook which asks me to synchronize books... I said yes. But now some books have disappeared and cannot find in ibook. If I go into settings - icloud - ibook I can see them, but how do I synchronize their return to iph

  • Cannot install the update of El Capitan 10.11.3 (Stuck in gray screen)

    I have problems to install the update of El Capitan 10.11.3. Whenever I hit reboot the Mac tries to stop and gets stuck in a dark grey screen. The mouse cursor is visible and mobile. Special keys (sound, light) and layering seems to work. What I've t

  • HELP inside a yellow Triangle with a Point of Exclamation...

    I get a pop up on my screen about 2 inches width and 1 in. high, that it says in the Web page of the high red x x high Message on East side of thet. Then, just below, I have a yellow triangle with an exclamation mark inside and the number 2, then bel

  • Click on MenuItem and consume

    is it possible to consume a click from a menu item? I use ListField to view the records that can be edited by clicking on a particular record, which displays an edit form. The problem arises when I want to extract fresh data from a webservice and red