Copy link to clipboard
Copied
Hello all,
I am trying to make a script that imports a PNG file (that is in the same directory as the script I am running) into photoshop, but instead of opening it as its own document I want to be added as a layer to the document I am currently on so that I can manipulate its size and position in the same script.
I have seen the .add() method but don't know if that is correct or how to use it... any help is appreciated!
Thank y'all.
Copy link to clipboard
Copied
Hello all,
I am trying to make a script that imports a PNG file (that is in the same directory as the script I am running) into photoshop, but instead of opening it as its own document I want to be added as a layer to the document I am currently on so that I can manipulate its size and position in the same script.
I have seen the .add() method but don't know if that is correct or how to use it... any help is appreciated!
Thank y'all.
Copy link to clipboard
Copied
There is a function for placing as a Smart Object (and transforming at the same time) in the Script in this thread: