Copy link to clipboard
Hi all,I am wondering if someone can help me with a solution to batch convert a library of 36.000 images from .TIF with path to transparent .png filesI created a action script with steps to select the .TIF path and delete the background, after that save it as .png.But i'm having trouble. Not all files have the same path name. some have Path 1 others have 1/outline/pad 1 etc. The current script only runs when the path is named Path 1 but stops when a path is named outline.Is there a way to generalize the action to select the first path regardless of the name?Thanks in advance,Joeri Dullens
@Joeri5E20 – This is a limitation with actions, they record absolute path names.
Or to make a selection from the first path:
You would simply address it by index. I'm not that deep into PS scripting, but a quick web search turned up this:
The first function fetches the index of paths and certainly it could be modified to work with your script.
Worked like a charm! ❤️
@Joeri5E20 – thank you, I wasn't sure if this was consistently the first/top path that varied in the name. Glad you got the result that you needed!
@Joeri5E20 – So, how did the scripts work for you?