All options
Settings script with all available options and their defaults
#include "Batch Mockup Smart Object Replacement.jsx"
mockups([
{
output: {
path: '$/_output',
format: 'jpg',
zeroPadding: true
folders: false,
filename: '@mockup - $',
},
mockupPath: '',
mockupNested: false, // If the above path leads to a folder
input: '', // If set, overrides smartObjects[].input, inputNested, and inputFormats. Every smart object picks files here sequentially.
inputNested: false,
inputFormats: 'tiff?|gif|jpe?g|bmp|eps|svg|png|ai|psd|pdf',
hideLayers: [],
showLayers: [],
noRepeats: false,
smartObjects: [
{
target: '',
nestedTarget: '',
input: '',
inputNested: false,
inputFormats: 'tiff?|gif|jpe?g|bmp|eps|svg|png|ai|psd|pdf',
align: 'center center',
resize: 'fill',
trimTransparency: true,
inputPlaced_runScript: '',
inputPlaced_runAction: [],
},
// {..},
]
},
// {..},
]);Minimal settings script
Last updated