Using actions to hide/show smart object layers
Hey all. I have a workflow question for you all. I really need some help! Please x x
I have about 80 carpet samples saved as high res tifs. Each sample needs to cropped and resized to about 12 variants for use online.
E.g. 260px x 260px
600 x 900
260 x 260 but with a drop shadow
800 x 800 but more 'zoomed in'.
400 x 800 but with a mask applied
500 x 500 with a watermark etc etc
It took my previous colleague literally WEEKS of doing them by hand. However I've found a smarter way is to use smart objects and 'artboards'. This allows me to use the same smart object and place it all the different artboards at once, set the right crope, masks, etc. It works amazingly well.
I just need to go into the single smart object, switch which layer is 'visible', save it, then switch back to my 'master template' file and I'll see that they're all done. I just then hit file > export > artboards.
However, it gets very tedious when I have 80 different swatches to change out and then save, one at a time. Especially given that it takes a little while for the smart object to save.
....
So my plan is to continue to pop all the swatches/layers into my single one smart object, could I then make an action. Which would....
1) Open smart object
2) hide current layer
3) unhide 'next' layer
4) save smart object
5) save 'main' PSD artboards
6) rinse and repeat.
...
Each time it runs, I obviously don't want it to keep saving over itself, ideally... it would save the filename as the name of the currently selected smart object layer. But this is probably asking too much!.
I don't know enough about actions to know if this is possible, and I know literally NOTHING about scripting! So I'm completely stuck!
Could anyone provide any help or words of wisdom? Thanks x
