I've been working on this Macro on and off for a while now and thanks to suggestions here have been refining it and hopefully making it less random. But I have hit a block. I know I'm doing something daft but not sure what it is
So I have a Photoshop file with hundreds (could be thousands) of layers. I want to do the following:
Set/reset a Variable to 0000
Make the Named Clipboard the Variable
(although I wonder if it is necessary at this stage)
[Start a loop which can go as many times as there are layers]
Increment the Variable by 1
(0001)
Make the Named Clipboard the (updated) Variable
Export a PNG
Tab 3x to get the Filename part of the dialog
Insert the Named Clipboard text
Append .png to the name
Press Save
Do some Layer operations
end of first pass
But it stalls fairly early on at the save dialog.
Can anyone see if the Variable creation is wrong or too complex?
and Does anyone have tips for better selection of the filename bit of the dialog?
Many thanks