Found a script that works but on current file, looking to make it more automated
try { | |
var layToRm = activeDocument.layers.getByName('WhiteOP'); | |
if(!layToRm.visible) layToRm.visible = true; | |
if(layToRm.locked) layToRm.locked = false; | |
layToRm.remove(); | |
} catch (e) {} |
Removes a Layer with a specific name
I'm looking to get it to point to a directory and save/export -
found this bit
var dir = Folder.selectDialog("location"); | |
var files = dir.getFiles("*.ai"); |
save works, but if possible Export as a specific file extension its a custom one but has no options can I just export as a .whatever?
if not save as .ai works as well
thanks,