0 Replies Latest reply on Jan 21, 2016 3:59 PM by element465

    Need help with a JSX to pull in 2 PNG files and place them in 2 smart objects.

    element465

      Hi guys,

       

      I'm new to Java and I am trying to make a script that will take 2 PNG files (light.png and dark.png) from the same folder as the open PSD, and then places the PNG's into the layers dark_layer (for dark.png) and light_layer (for light.png).

       

      The size of the PNG's will be the same size dimensions as the layers so sizing shouldn't need to be changed.

       

      I can't figure it out for the life of me and I understand it should be not that hard, so any help with a JSX script would be fantastic.