Copy link to clipboard
Copied
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.
displayDialogs = DialogModes.ALL
For me script works starting from Bridge. For a test create 'pth' folder on desktop and copy to 210525_XXXXXX9755.psb. Try Batch from Bridge again on 'pth' folder with that file.
Copy link to clipboard
Copied
The second code you posted is not supposed to work in Bridge, but only in Photoshop.
Copy link to clipboard
Copied
Um aware of that,I'm referring to start the action in Bridge in selected files to be handled by Photoshop in Tools-> Photoshop -> Batch
It's a Photoshop error not Bridge, but only triggered when started from Bridge.
Copy link to clipboard
Copied
displayDialogs = DialogModes.ALL
For me script works starting from Bridge. For a test create 'pth' folder on desktop and copy to 210525_XXXXXX9755.psb. Try Batch from Bridge again on 'pth' folder with that file.
Copy link to clipboard
Copied
displayDialogs = DialogModes.ALL
Thad did the trick, thanks.