Does the script work with multiple artboards? #3
-
I'm having 2 mockups of a tshirt, one is from front side and another to back. I want to place a same image on front and back. Front and Back are not in the same artboard and are to be exported individually. Can this be done ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Technically no... but you can if you convert artboards to individual psd files: So if the starting point is // Layers panel
- Artboard 1
- @front
- Artboard 2
- @back And you do - Mockup Artboard 1.psd
- Mockup Artboard 2.psd ...and the script would have to be along the lines of:
#include "Batch Mockup Smart Object Replacement.jsx"
var output = {
path: '$/output',
format: 'jpg',
folders: true,
};
mockups([
{
output: output,
mockupPath: '$/Mockup Artboard 1.psd',
smartObjects: [
{
target: '@front',
input: '$/input',
},
]
},
{
output: output,
mockupPath: '$/Mockup Artboard 2.psd',
smartObjects: [
{
target: '@back',
input: '$/input',
},
]
},
]); |
Beta Was this translation helpful? Give feedback.
Technically no... but you can if you convert artboards to individual psd files:
File > Export > Artboards to files...
.So if the starting point is
Mockup.psd
:And you do
File > Export > Artboards to files...
, you'll end up with files:...and the script would have to be along the lines of: