1 Reply Latest reply on Aug 26, 2010 3:19 AM by Muppet Mark-QAl63s

    Adjusting Curves

    oscar060384 Level 1

      Hi,

       

      After selecting a layer, I want to procedurally adjust the curve to an exact number for the Output.  How do I do that thru script?

       

      Thanks!

        • 1. Re: Adjusting Curves
          Muppet Mark-QAl63s Level 4

          There are several ways in which you can go about this with script.

           

          Direct:

          1. Using the DOM an art layer has the method adjustCurves(); to which you can pass an array of your values.

          2. You could use the output from the 'scriptlistener' plug-in to make the adjustments.

          3. You could use the output from the 'scriptlistener' plug-in to a load a saved curve file.

           

          Indirect (putting you adjustment above):

          4. You could copy a curves 'adjustment layer' from another file and place it above your layer.

          5. You could record making a new curve 'adjustment layer' using the output from the 'scriptlistener' plug-in.

          6. You could use the output from the 'scriptlistener' plug-in to make a new curve 'adjustment layer' using a saved curve file.

           

          If this is all you require then you have no real need for a script you could do most if not all of the above with an action?