Scripting: One layer to adjust opacity of other layers?

Hi there,
i've a lot of layers in my comp which names start with "POINTER_".
I would need those layers to fade out at the same time.
But i can't subcomp them or use stencil alpha.
I'm sure it is possible to do a script on an adjustment layer that would do just that.
All it needs to do is enable me to do opacity keyframes on that adjustment layer which are then linked to the opacity to all layers starting with "POINTER_".
I'm not a scripting guy so it would be awesome if somebody could show me how to do that.
Thanks a lot!
cheers,
Chris

You don't need a script for it; you need an expression.
You can very easily link properties between layers with expressions. In this case, you would apply an Expression Effect Slider to your null layer (or just use the opacity property of an adjustment layer). Then alt-click the opacity property for one of your layers and use the pick whip to choose the slider effect or the opacity property of your controlling layer. Now, when you change the value of the one layer, the others follow. You can copy and paste the expression that resulted from your pick whip to the other layers. (You can even choose to copy the expression only and then paste that to the rest of the layers.)

Similar Messages

  • How can I mask one layer which is enough for other layers?

    Hi,
    I want to know how can I mask an image on one layer which should enogh for other movie clips. Like the following ...
    1) First layer ........................ Actionscript
    2) Mask layer ....................... Rounded rectange with some design
    2) Image layer ...................... Best image (as a background for all other movie clips)
    3) Movie Clips layer .............. 10 Movie clips (which are like slides and will be act like one webpage each)   
    What I want is the mask layer (Layer 2) should be enogh for all the movie clips in layer 3. No need to mask in each movie.
    I tried in the same sequence but it did not work for me.
    How can I do that?
    Thanks.             

    mouse down (and hold down) on the movieclip layer (at the left of your timeline) and slowly move the mouse up until you see that the movieclip layer is indenting to indicate it's going to be masked.

  • One layer style changing all the other layer styles? Turn this off?

    I'm sure there is an easy answer to this but I cannot seem to find it. When I am applying a style to one layer in CS2, and lets say I give it a drop shadow that is different (say it's at 110degrees rather than 90degrees) compared with the other drop shadows in my other layers, the curent layer style will change all the other layer styles across the board. I've looked all over for some setting to change so each individual layer keeps its own style but I can't seem to find this. I want each layer to have its own style attribute and not change the rest, how do I correct this?
    Thanks for your help!
    Tegan

    You need to uncheck the global light option in the layer styles dialog.

  • How do you find the size of a current layer so you can make other layers the same size

    When I have an PSD icon set and I want to size a layer to a size that looks good.  How do I see the dimentions of that layer so that I can select another layer and make it the same size.

    well that's my point Chris.  I have a PSD that has 150 icons in it.  I want to take 5 of them and make them the same size 300 x 300 from the 180 that they are.
    If I select one and then press Apple T, I can see that it is 180 x 180 in the info window.  I can then go to the transform bar at the top where it says 100% x 100% and type in 180px then 180px in the other.
    Chris Cox wrote:
    Or duplicate the layer and replace the contents...
    Then repeat for the other 4 layers.  Is this the correct way (easiest?)  How do you replace the layer after duplicating it.

  • One layer as track matte for multiple layers

    I have some animated text. Im using a solid as a track matte mask out the text. Instead of precomping all of my text or making multiple copies of the solid acting as a track matte I wondering if its possible to add an expression to my text layers say, in effect, use this one layer as a track matte.

    Use the Set Matte effect.
    http://provideocoalition.com/ryoung/story/set_matte_a_32-bpc_matte_node

  • Export only a single layer as image without hiding other layers?

    I know I can just make only one layer visible and then save as e.g. PNG. But my question is - do I have to make all other layers invisibile in order to save only my one single layer as image? Or is there a way to save only a single layer (or a few at once) without hiding the rest of them?

    What does export mean in your mind. Remember Photoshop is a document editor not a file editor it only save files from documents,  There is a way to toggle off visible layers but the one you Alt click on visibility icon. Perhaps the scriptlistiner can shed some light on that,  Photoshop will still have to process all layers and you need to toggle the visibility the second time. It sounded to me that you want to do something like Export Layers to Files that is why I suggested that you look at how Adobe programmers addressed the subject.

  • Why won't my layer fill behind objects in other layers?

    Hey guys, I have no idea why this certain copy of Photoshop CS5 is doing this.  I'll be trying to fill a layer or a selection but whenever I fill it, it never fills anything below other objects in completely unrelated layers.  Is there a setting I can turn off to make sure that this doesn't happen anymore?  It's really frustrating.   Thanks!

    Are you filling with the Paint Bucket Tool? If so, make sure that it doesn't have All Layers enabled in the Options bar, otherwise it will consider the colours in layers other than target when determining which pixels of the target are to be filled. (Same advice applies when making a selction with Magic Wand Tool and others.)

  • Only want to apply adjustment to one layer

    When I apply an adjustment levels layer, all layers below are affected. I only want to apply an adjustment to one layer not all of them. How do I do this?
    I am using photoshop CS4
    Thanks,
    S. Hamsun

    To amplify that, an Adjustment layer will affect all layers below it. To restrict the effect to one layer, the adjustment layer must be clipped to the layer below. This can be achieved in CS4 by clicking the icon shown above in the Adjustments panel or Alt-Clicking on the border between the two layers in the layers panel.

  • Isolating a layer (hiding all other layers)

    I have started writing my first script but I am struggling to find out how to isolate an active layer.
    Part of my script reads;
    var doc = app.activeDocument;
    doc.activeLayer = doc.artLayers.getByName('mk stone');
    at this point I would like to hide all other layers in the document. I will then select one of the RGB channels then unhide the other layers.
    I have worked out the selection part. So all I really need to know is how to hide and unhide all other layers.
    Any help would be much appreciated.

    There will be a number of layers to turn on and off.
    The way it works is to create a folder and select a layer with the corresponding name. i.e create a new layerset called "stone set", then select an existing layer in the scene, this would be called "mk stone".
    I would then select an individual RBG channel, load the selection and then make the "stone set" the active layer and apply the layer mask to the layerset.
    I have got all this working fine. The only problem is when I try it with more than one layer because it just keeps seeing the highest up layer in the stack and reapplying these selections to all layersets.
    I need to tell it to make "mk stone"  the only layer shown, make a RGB selection and then return back to the previous visibilty state. I would then apply the layer mask as previously mentioned select another layer "mk brick" hide all other layers make the RGB selection return to the previous visibilty state apply layer mask to the layerset etc....
    It would be alot better if it could return to a previous visibilty state as some files I use have certain layers/layersets turned off and would be useful not to turn all these back on. If not I could work in an external file, but ideally in the same. What I really need is exactly the same as 'alt' clicking the the eye icon on a layer and 'alt' clicking to return to the previous state.
    Hope this makes sense. Many thanks for any help.

  • Grabbing one layer... but moving another?

    I'm using Photoshop CS4 on a Mac. I'm having a strange thing happen that hasn't always happened. When I click on a layer to move it... suddenly when I go to move it, it switches to another layer and moves THAT (wrong) layer. It's really annoying. They are not linked.
    Along similar lines, something else weird is happening. When I create a group... I can't move just one layer within that group. ALL layers in the group move. This also didn't used to happen.
    I guess I somehow changed a preference, but I can't for the life of me figure out what is causing this.
    Thanks!
    Julie

    I always use the move tool in that mode. It is the best way to find what from your image is on which layer. Most of the time I have dozens of layers with generic names and you can imagine how hard it would be to figure out what layer certain part of the image is on.
    Holding Ctrl toggles this option. So if you are in one of the modes and you need the other occasionally just hold Ctrl while using the Move tool.

  • Cropping just one layer in CS6?

    I have multiple layers. I lock the other layers and turn them off (the "eye" is turned off).
    I attempt to crop the ONE layer that's selected. All layers are cropped.
    What am I doing wrong? I searched tutorials and didn't find this issue,
    I did go through the tutorial with the new crop functions.

    Hi Anita,
    Here is an illustrated version of what R_Kelly is recommending:
    In the example below I have a file with multiple layers. The top layer (hidden in this illustration) is too large and will cover up the other layers. It needs to be "cropped".  The recommended way to crop that layer would be to make a layer mask. Click here for a some great tutorials about  layers and layer masks. A quick and easy way to crop it would be to do the following steps.
    Using one of the selection tools, create a selection that represents the shape you want for your layer. In this example, I used the rectangular marquee tool. Be sure you've targeted the correct layer when you make the selection.
    Once the selection is made, choose Select > Inverse. This will select all the pixels outside of the original selection.
    To remove the unwanted pixels, choose Edit > Clear. The layers below your newly cropped layer should be visible now.
    I hope this helps,
    Luanne

  • How to make a script treat only tables of one layer?

    Hi guys
    Could anyone  point the way to performing the below code only on one layer in  Indesign CS2?
    I also need to treat tables on "layer1" only.
    with(app.activeDocument){
    for(  storyIndex = 0; storyIndex < stories.length; storyIndex++)
                var myStory = stories.item( storyIndex );
                for (tableIndex = 0; tableIndex <  myStory.tables.length; tableIndex++)
                    //do things here
    This works on the  whole document but how can I ask Indesign to treat only tables in  "layer1". The layer object does not contain the story object, so I cant  adjust the "with" statement above.
    Basically what I need to do is untag all XMLelements within a table of layer but i have given the obove code for simplicity.
    Can anyone guide me on this?
    Thanks
    Nadia

    CS2, huh? If you have not already, you should budget for an upgrade to CS5.5 (or better yet, CS5 right now and get the free CS5.5 upgrade,so you have both, assuming that offer is still outstanding).
    Generally using with is discouraged. It makes it hard to tell what's really going on in your program and is considered bad style [at least by me]. Better to use either a temporary variable or app.activeDocument.stories explicitly.
    Stories do not themselves have a concept of a layer, because they are composed of textFrames and those could be on different layers.
    But let's assume that you care about the layer of the first textFrame in each story.
    Then:
    var
      stories = app.activeDocument.stories,
      storyIndex, myStory,
      tableIndex;
    for (storyIndex = 0; storyIndex < stories.length; storyIndex++) {
      myStory = stories[storyIndex];
      if (myStory.textFrames[0].itemLayer.name === 'layer1') {
        for (tableIndex = 0;
             tableIndex <  myStory.tables.length;
             tableIndex++
          //do things here
    (I also use stories[15] instead of stories.item(15) and declare all vars at the top.)

  • Replace one channel by another on only one layer, leaving the others intact?

    Hello. In a CMYK image, I need to turn on only one layer one channel completely into another, while the others remain intact. The M channel (the M on that layer) contains information, but I can't print M in this place. I want to change it into an equal amount of K (or into C, in the present case, or even into a mixture of the two). I know how to do this to an entire image (change into greyscale, duotone or whatever may apply). But since I need this to apply to only one (or a selection of) layer(s), leaving all others intact, this is not an option here. I'm sure there's a way to achive this, but I can't find it. Any advice would be much appreciated.

    bustamant wrote:
    hello, thanks for your replies. As far as I understand, Channel Mixer (i.e., an Adjustment Layer containing a Channel Mixer applied to the layer in question) allows me to reduce one channel to zero,
    You are completely correct up to here...
    Then choose K as the desired output channel at the top of the palette and slide the M (source) slider to the desired value.  You can choose more output channels by going to each output channel in turn.
    The way it works is slightly confusing at first, but in a nutshell, you choose your output channel first, then mixture of sources.  Then move to another output channel and the sources will be at the default position for THAT output channel only.  Each channel has a set of source channels assigned to it.
    Default;  black output channel = 100% black source, 0% CMY
    So your example is black output = 100% black source plus 100% mag source (although I expect you are going to change black source to 0)
    AND magenta output = 0% Magenta 0% CYK source  (no mag output at all)

  • CS5 problem Adjustment layers only affect one layer instead of all

    I am getting this problem with Photoshop CS5 I think one of the settings got changed by accident but for some reason I cannot get any of the adjustment layers Levels,Curves etc to affect all layers under them. Instead it just changes the brightness of one layer only which is the one just below the adjustment layer but not all of the others. I use Photoshop for Digital art and I was all of the layers under the adjustment to change the look of the full image instead of just one layer. Is there any way of fixing this problem? I dont know what to do

    I think I know what the problem may be:
    When you're adding a new adjustment layer the following checkbox is coming on by default:
    You probably changed the default for this.  Here's how to change it back:
    Make the Adjustments panel visible by clicking the Window - Adjustments menu.
    Click the little fly-out menu icon at the upper-right.
    Clear the Clip To Layer checkbox.
    -Noel

  • Is it possible to copy groups/paths from one layer and paste to other multiple layers?

    Note Layer > Duplicate will not work in this regard, because I want to copy one group of paths/elements from one layer to other existing layers, not to a new layer.
    I have not found a command for this, nor have I found any scripts. Note I'm using CS3 but have been thinking about an upgrade.
    Thanks in advance.

    I actually use the Release to Layer (Sequence) function frequently to build my animated steps, for example when animating some text in a way that Premiere won't handle. This releases all the intermediary objects in a transition to new layers, but the background image still needs to be manually pasted into each newly created layer.
    I have read about "Paste to all Artboards," but that feature was not included in CS3. I believe it was released in CS5. Perhaps I need to get an upgrade. Thank you for your kind replies.
    I am a Mac-based CAD user going back to the mid-1990s, and it's interesting how many of the helpful, time-saving features we took for granted in those drawing programs are either not included in Illustrator products or are just being added in recent releases. I would still be using programs such as PowerDraw/PowerCADD if they hadn't gone out of business. Even with some of the expansion packs I've used, Illustrator doesn't hold a candle to PowerCADD.

Maybe you are looking for

  • R2 XP to Windows 7 Migrations - User State Data Restore Fails

    The client I am at is trying to migrate about 800 XP clients to Windows 7 before the April deadline.  They have ConfigMgr R2 and are aware of the limitations with ADK 8.1 for Windows XP.  We are following the following ConfigMgr Blog:  https://blogs.

  • Living in a windows world

    Ok the skinny... Mac guy, window environment. I have gotten all networked in can see everyone share files etc... On my windbloz machine I have internet access we do have to go through a Webmarshal application I believe. When I hook my macbook pro up

  • Error while connecting to Essbase Server while Planning Application creatio

    ####<Nov 10, 2011 5:03:16 PM IST> <Error> <HTTP> <REV-BSP-Z22> <Planning0> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1320924796459> <BEA-101017> <[ServletContext@470606483[app:PLANNING modu

  • WRVS4400n questions

    Hi Every1, i had brought a brand new WRVS4400n SMB router, and i have some question to make better its performance and usability... 1, I have made the FW upgrade to 2.0.0.8 from 2.0.0.7, BUT the IPS signature is still almost 2 years old. Would this u

  • Security token testing with soapUI

    Have anyone managed to test the tutorial: [url http://dev2dev.bea.com/pub/a/2006/04/securing-service-bus.html?page=1]Securing Services Using the ALSB with SoapUI ? We had a hard time calling the WS without BEA specific libraries, and ended up making