Error in action with script when started from Bridge but not Photoshop
Hi,
so I got a few actions for convenience, one of them I use to precess PSDs/PSBs to flattened Tiffs while removing guides/paths/alphas.
For some reason I cant understand when I start the action for Bridge it gives and error which I've tracked to the clear paths script, but the same action works flawlessly if started from Photoshop (using source and destination folders).
Start Batch
File: "/Volumes/Work SSD/XXXXXXXXX/210525_XXXXXX9755.psb"
Error: Could not complete the ScriptingSupport command because of a program error. (-1)
Script in question:
app.displayDialogs = DialogModes.NO;
activeDocument.pathItems.removeAll();
app.displayDialogs = DialogModes.YES;
Its not a dela breaker but there's some convinience in deploying actions on particular files in a folder.
Thanks.
