Close Layer Group Folder in Action?

I am using Photoshop CS4 on Windows 7 64 bit.
I am creating an action that selects a specifically named layer in a layer group. When this happens it expands the group. However, if I try to close (collapse) the group later on in the action (by clicking the little triangle next to the group) this does not get recorded in the action. I've also tried right-clicking on a group folder and choosing "Close this group" from the pop-up menu but that doesn't get recorded in the action either. I have searched and I cannot seem to find any way to close a layer group via an action. Is this possible?

The only way I know to close a layer group in an action is to create it  from a selected group of targeted layers. Photoshop menu Layer>New>Group From Layers. This will create a new layer group containing the selected targeted layers and the new group will be closed....

Similar Messages

  • Script progression caught on Layer Group Parent

    I have this code to progress down a doc and offset - it gets caught on Group Folders - the LayerSet Parent Node. Anyone have an idea how to rephrase this - to get it to progress past the layer group folder and on to the next layer?
    for (var i=0; i<srcDoc.layers.length; i++) {
    if (srcDoc.layers[i].visible) {
    srcDoc.activeLayer = srcDoc.layers[i];
    if (srcDoc.activeLayer.kind != LayerKind.TEXT){
    Offset();
    else{
    srcDoc.activeLayer = srcDoc.layers[i];

    You can wrap that in a function that runs itself when a LayerSet is encountered.
    Maybe this can illustrate the point:
    Re: Layer Sets (groups)

  • Changing from "Pass Through" as Default in Blend Mode in a Group Folder Layer Set

    Hello Forum gurus!
    Using a MacBook Pro, 10.5.4. Painting with CS2. My question is two-fold.
    When the Group layer folder in a layer set is selected, it is displaying the "Pass Through" blend mode by default. Is there a special convenience to this? (Best use for pass through blend mode)
    Also, How may I change the default in this mode to be "Normal" as the setting when creating a Group folder layer set?
    Thanks!!
    Colene

    Matthias, now I understand. We're both right from different perspectives. If you want the adjustment layer (should there be one within the group) to affect all layers below the group (perhaps because that's the way the image looked before you made the group in the first place), then Pass Through is your blend mode. If you want that adjustment layer to affect only those layers within the group (which I often do), then Normal (or some other) is your blend mode.

  • Easily duplicate / paste layer in different group folder?

    I design Web sites using Layer Comps so the homepage and innerpage examples are all in one .PSD. This means my Photoshop CC file has TONS of layers and folders that require me to scroll in the Layers Palette.
    Is there a way to copy/paste or move a layer to a different group folder without dragging it? Copy/paste for layer styles is a great tool. Is there anything like this for layers themselves?
    Sometimes I resort to opening a blank PSD to drag the layer to that, then go back to my source document and auto select the new group I want it in, flip back to the blank doc and drag the layer from there. That is not a great workaround if I want the positioning to be the same as the original layer.
    Thanks!

    Hi Nik,
    use of with() is generally not good, maybe:
    http://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/
    without with() it looks like that:
    #target illustrator
    var docRef = app.activeDocument;
    var ln = 'Layer 1';
    var ol = docRef.layers.getByName(ln);
    var nl = docRef.layers.add();
    nl.name = ln+' Copy';
    for (var a = ol.pageItems.length-1; a >= 0; a--) {
        ol.pageItems[a].duplicate(nl, ElementPlacement.PLACEATBEGINNING);
    the second document is a new document?
    var doc2 =app.documents.add();
    or you can get it by name just like the layer
    or by index
    var doc2 = app,documets[ indexnumber  ];
    then var nl should be:
    var nl = doc2.layers.add();
    chris

  • Photoshop Actions: Problem with layer groups

    I have recorded several photoshop actions with multiple adjustment layers in layer groups. They work perfectly fine, as long as I do not run a second action with a layer group in it.
    As soon as I run a second action with layer groups, the layer order is completely random and messed up. How can I avoid this problem?

    Best practices: Usage
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • Motion 4: open and close a group with key shortcut?

    Mo4: Layers window: any shortcut to twirl down (and/or up) all the layers in a group? Or layers in layers? The manual says arrow keys move from group to group,layer to layer and that works... also says that L & R keys open and close selected group/layer, my LR arrow keys don't do anything...
    Thanks, John

    No, actually you do not - you need to click the helpful or solved buttons over their post in order to give them credit.
    And what you do by assigning a helpful or solved (helpful is 5 points, solved is 10) is to build their reputation here. Not a bad thing to do for those who help you...
    Patrick

  • Is there any simple way to close a group of PO's?

    Hello All,
    I was looking an answer for my question on forum but didn't found anything which could help me to solve my issue.
    I would like to close a group of PO's in some period of dates. Is there any simple way to do this? I mean transaction for example, which will let me to choose company number, period of dates  or range of PO numbers and close them by one tick (one action).
    Thank you in advance for any support from your site.
    Regards,
    Kamil

    Kamil,
    Though I have not used this functionality, can you check whether you can use this functionality for mass change?
    Upload and Download of Purchasing Documents
    http://help.sap.com/saphelp_srm70/helpdata/en/09/1f42188473402a890183fd1b7c6082/frameset.htm
    Using this function, you can download purchasing documents as a file to your PC, process them locally, and then upload the changed documents to the SAP Supplier Relationship Management (SAP SRM) system. You can download the following purchasing documents :
    Features:
    The upload/download supports the following functions and possible uses:
    - Cross-Document File Structure
    You can display and process the data in a standard tabular file structure for the documents named above. The file structure assigns a unique technical ID to each data field in a metadata area.
    - Process Document Data Offline and Retain
    You can change or delete existing data, add new data, and transfer all document data, for example, customer fields.
    - Process Large Documents
    This function simplifies the creation of documents with numerous items, and simplifies mass changes to large documents; for example, you can download a document with only one item, and add multiple items to it offline.
    Background processing occurs in the case of very large documents.
    Regards,
    Sandeep

  • PSE 10 Can't edit read-only layer groups (a.k.a.  I just want to make a custom DVD menu in Elements)

    A little background: I wanted to make a custom menu so I opened a copy of one of the canned menu.PSD files in PS Elements 10.  It opened up with all layers and their sublayers showing.  So far, so good.  I did a bunch of editting and had my menu just about right, saved it and burned a DVD with it.  I saw some corrections that I needed to make so I opened the same .PSD file and it showed all the main layers (with the folder icon) but not the attached layers. 
    I double-clicked to open these layers and got:
    "You are attempting to open a group, which is not supported in Photoshop Elements.  The layers in this group will be simplified into a single layer.  Simplify the layers? Yes No."
    I was just editing these things the day before yesterday.  All I've done since then is register my software online. I have seen it stated in this forum that "Elements doesn't support layer group/sets" but it was referring to an earlier version I'm guessing.
    Question 1:  Is this still true of PSE 10?
    Question 2:  If so, how was I editing them the other day? 
    Thanks in advance for any help you can offer.
    Joe

    If you haven't uninstalled premiere elements then it should work, but there are a few things that will not work when editing the dvd templates:
    (it only works on certain dvd templates and only on a machine with premiere elements installed)
    *If you change the document dimensions either larger or smaller. (not the size of the elements in the template but the overall size such as using
    Image>Resize>Image Size or Canvas Size)
    *If you delete any of the layer groups
    *Changing the name of the document
    There are probably other causes and they may know more on the premiere elements forum:
    http://forums.adobe.com/community/premiere_elements?view=discussions
    MTSTUNER

  • ? on moving items within layer groups

    i am having trouble using layer groups. I have a layer group named Group 1 with 5 layers in it. Each layer contains 1 image. I'm unable to move 1 layer to center the image without all the other layers taking on the same position.Even if they aren't turned on, or selected. The only layer selected and turned on is the layer i want to move the image.
    I don't have a lock on. Even if i turn off the other layers, once i turn them on again, poof - they all position incorrectly.
    How can I turn off this glue type action from happeing?
    Thanks!
    Marley

    I've never seen anything like the behaviour you are describing.
    The only things that will cause layers to move together are the following conditions…
    selecting multiple layers in the panel
    Linking them as mentioned before (see the small link incon at the bottom of your layers panel)
    highlighting and moving a group. This means using the move tool when a layer GROUP is highlighted not an individual layer
    Your screen shot impies that none of this is happening. Reset your photoshop preferences by holding command option shift while launching the application.

  • Photoshop coloring and layer group issue

    Hello there this is my very first post but I really need some advice here.
    I am using WIndows 7, I have Photoshop CS5.5 and am improving a bit in my digital illustration/coloring. I was experimenting with organization by using layer groups. When I did this and began to work on the colors, I noticed them behaving very poorly. For one thing, they always came out brighter than I intended. No matter how I tried to darken the colors, they always either fixed to a certain tint or just got brighter when I tried to darken them. I noticed them interacting with the colors on all of the other layers, even with layers outside of the group. So to get around that I tried erasing wherever colors overlapped. This did not help, it only removed the mixing of colors, I still have really bright colors on everything I paint. I did notice though that when outside of a layer group, all of the colors behaved normally! Yes I know I can just keep the colors out of the group folder to fix the problem, but I want to learn from this experience. Why do the colors misbehave within layer groups? Why do they respond with a transparent nature(for lack of a better term)? And is there a way around that?
    I did check the opacity of everything and everything was at 100%. I did checkk the blending mode of the group and the individual layers, I had them all set to normal.

    Hi CorbinWells
    It sounds like your brush mode may have been changed to screen or brighten. It sould be set to normal to get your desired results.
    I understand that you said all your layers and groups are set to normal. So I the above solution might help. If not, please attach some screenshots so we can understand more what's going on.

  • Swipe to close program groups iOS5 does not work!

    I try to swipe my finger to close open program groups, but it does not work in iOS5.
    I constantly find myself swiping to close the groups bechause it`s the simplest way to do it, but after upgrading to iOS5 i have to press the home button to close it.
    Is this a bug? Hopefully, bechause using the home button is not as easy as swiping my finger!

    Well it's hard to know what the OP is referring to no matter how hard you read the question.  What are "program groups"?
    As for folders, you close as you always have - touch the folder itself, touch anywhere on the home screen (which still works fine for me), or just press the home button.

  • Secret editable layer groups in photoshop elements.

    Layer groups being opened and manipulated,
    just like in photoshop.

    Another way of testing a recorded action or testing any action
    before installing one in photoshop elements. With this script
    you can load one action set or ten or more action sets for
    testing. Also an action can be set to run more than once in a
    row.

  • Layer group problem

    Mac OS X 10.10, PS CC 2014.2.1.
    I have a large file with layer groups. I can click to open and close the layer group, but when the group is open, when I click on a specific layer to work on it, the layer group closes. The problem appears to have arisen after I tried saving the file and getting a "too big to save as TIFF" warning. I can't swear that these two things are connected, but before I tried to save, the layer group worked fine, and after I tried the save, it didn't.

    New info. When I saved the file as a PSB file, the issue resolved. So there seems to be a bug that appears under uncommon circumstances. But there is a way to work around it.

  • Script to copy Layer/Group to another Open Document?

    Hi, I know this topic has been covered many times before. But to clarify, here's what I'm wondering:
    Copy the active layer/group to another open document in Photoshop. The simple way is to go to "Layer/Duplicate Layer..." . But this is very tedious. For starters, when you choose that method, and then select the document that you'd like to copy to via the pull-down menu, it successfully copies the layer/group to that document, but it doesn't auto-switch (activate) to the document it was just copied to. You have to hit "Ok", and then manually search through the open documents list via (Window/*choose your document*) to get there. This is a nightmare when you're trying to do this many times.
    Here is what I am wondering:
    Is it possible to:
    a) copy the active layer/group to the clipboard/memory
    b) switch to another existing document in Photoshop *via a custom menu* which shows all existing documents
    c) once switched to the new existing document, paste that layer/group from the clipboard into that document
    ..is that possible?
    At the very least, are there any scripts that anyone knows of that allows the user to switch between existing documents via a custom menu instead of going to Window/*choose your document* ?

    This might help with Groups and some other kinds of Layers.
    But it takes the easy route with the target file by using the name to identify it.
    // some amendments to pixxxelschubser’s code;
    // 2014, use it at your own risk;
    #target photoshop
    var aDoc = app.activeDocument;
    var AllDocs = app.documents;
    var actLay = aDoc.activeLayer;
    var theIndex = getSelectedLayersIdx();
    if (AllDocs.length > 1) {
    var itemDoc = null;
    var win = new Window("dialog","Copy the active layer");
    this.windowRef = win;
    win.Txt1 = win.add ("statictext", undefined, "Paste in which open document?");
    win.NewList=win.add ("dropdownlist", undefined)
    for (var m = 0; m < AllDocs.length; m++) {
    win.NewList.add("item", AllDocs[m].name)
    win.NewList.selection = 0;
    itemDoc = win.NewList.selection.index;
    win.cancelBtn = win.add("button", undefined, "Abbruch");
    win.quitBtn = win.add("button", undefined, "Ok");
    win.defaultElement = win.quitBtn;
    win.cancelElement = win.cancelBtn;
    win.quitBtn.onClick = function() {
    win.close();
    win.NewList.onChange= function () {
        itemDoc = win.NewList.selection.index;
        return itemDoc;
    win.show();
    // duplicate layers;
    for (var n = 0; n < theIndex.length; n++) {
    duplicateLayer (theIndex[n], String(win.NewList.selection))
    app.refresh();
    } else {
        alert ("No other documents open")
    ////// duplicate layer //////
    function duplicateLayer (theIndex, theDoc) {
    // =======================================================
    var idDplc = charIDToTypeID( "Dplc" );
        var desc7 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref3 = new ActionReference();
        ref3.putIndex(charIDToTypeID("Lyr "), theIndex);
        desc7.putReference( idnull, ref3 );
        var idT = charIDToTypeID( "T  " );
            var ref4 = new ActionReference();
            var idDcmn = charIDToTypeID( "Dcmn" );
            ref4.putName( idDcmn, theDoc );
        desc7.putReference( idT, ref4 );
        var idVrsn = charIDToTypeID( "Vrsn" );
        desc7.putInteger( idVrsn, 5 );
    executeAction( idDplc, desc7, DialogModes.NO );
    ////// by paul mr;
    function getSelectedLayersIdx(){
          var selectedLayers = new Array;
          var ref = new ActionReference();
          ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
          var desc = executeActionGet(ref);
          if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){
            desc = desc.getList( stringIDToTypeID( 'targetLayers' ));
              var c = desc.count
              var selectedLayers = new Array();
              for(var i=0;i<c;i++){
                try{
                  activeDocument.backgroundLayer;
                  selectedLayers.push(  desc.getReference( i ).getIndex() );
                }catch(e){
                  selectedLayers.push(  desc.getReference( i ).getIndex()+1 );
          }else{
            var ref = new ActionReference();
            ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "ItmI" ));
            ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
            try{
                activeDocument.backgroundLayer;
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" ))-1);
            }catch(e){
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" )));
          return selectedLayers;

  • Closing Layer Group

      Hello all,
    I make calendar with day layers in a month group :  
    monthName = group.artLayers.add();
    All days are fine in the month group but stay open.
    I have try close that layer group on the end with :
         app.activeDocument.flatten();
    But all my day layers are away!
    How can i close that layer group? (see image)
    Thank you for reading my problem!

    Thank you very much sir, will give it a try!
    Have search few months for a little solution!
    Will come back to tell if it works for me...

Maybe you are looking for

  • BPM 11.1.1.5 Dynamic assignment of task to user

    Hi, I'm working with BPM 11.1.1.5 (without feature pack). I have a requirement to assign a task to a user dynamically, based on data that I pull from a DB query. If the task expires, I will assign it to another user once again based on a DB query. I

  • Application error occurred during request processing.

    Hi, I got the following error when you invoke a method of a web service deployed on my local server Details:com.sap.engine.services.webservices.wsnavigator.WSNavigatorException: null Exception id: I don´t have any compilation errors in the Java sourc

  • Share local folder across network?

    I want to work on my site on 2 different computers, but hold the local folder on only one. I thought I did this before, but Dreamweaver is not allowing me now. I get the error that it is not a valid folder when i navigate to it. Does anyone know how

  • Tracks changed in size & I don't know why?

    Hi folks, I was working on a track and making splits and somehow made a command key selection or something and it changed the track size.  The only way I can explain it is the track started about 6 inches long and is now a third of that.  It plays co

  • NAC question for In-band mode

    Hi All, I want to implement a NAC appliance for a small network of users that connect directly to non-Cisco switches. As I understand, my only option is to deply NAC in in-band mode, in this way it does not matter which switch I use because the traff