Help with multiple smart objects and single folder input files #29
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
v.1.9 now has this feature and you use it by adding #include "script/Batch Mockup Smart Object Replacement.jsx"
var output = {
path: './_output files', // Outputs next to the mockup psd
format: 'jpg', // 'jpg', 'png', 'tif', 'psd', 'pdf'
filename: '@mockup - $',
};
mockups([
// Mockup #1
{
output: output,
mockupPath: '$/assets', // Note: in v.1.9 you can also process multiple mockups with the same settings if you use a folder path here
mockupNested: false, // ...and process mockups in nested folders
+ input: [ '$/assets/_input files' ],
+ inputNested: true,
smartObjects: [
// Smart object #1
{
target: '@screen',
- input: [ '$/assets/_input files' ],
- inputNested: true,
inputNested: true,
align: 'center center',
resize: 'fit',
},
// Smart object #2
{
target: '@screen2',
- input: [ '$/assets/_input files' ],
- inputNested: true,
align: 'center center',
resize: 'fill',
},
// You could have more smart objects per mockup file...
// {},
]
},
// You could have more mockup files...
// {},
]); |
Beta Was this translation helpful? Give feedback.
-
Hi, mockups([ // Mockup #1 |
Beta Was this translation helpful? Give feedback.
v.1.9 now has this feature and you use it by adding
input
,inputNested
, andinputFormats
to the smart object rather than each smart object:#…