Hi. Is there a way of automatically exporting all presets? If there are some number of presets and you are constantly tinkering that would be convenient.
Can that be scripted some way?
Thanks
Hi. Is there a way of automatically exporting all presets? If there are some number of presets and you are constantly tinkering that would be convenient.
Can that be scripted some way?
Thanks
you can use this script with the "run real java script" action:
async function someJavaScriptFunction() {
let presetDetailsString = await get_preset_details({});
let presetDetailsArray = JSON.parse(presetDetailsString);
for (let p of presetDetailsArray) {
// don't use await for export_preset
export_preset({name: p.name, outputPath: `~/Downloads/${p.name}.bttpreset`});
}
return presetDetailsString;
}
This would save them all to ~/Downloads
Thanks!