Copy link to clipboard
Copied
Hi, I'm just starting my adventure with creating scripts.
I'm looking for a way to create a "random" illustration based on sets of elements. I mean the case where we set up a scene where each element appears in several versions (e.g. organized in folders with only one visible layer) and the entire illustration is generated randomly. Something like a character generator in games. It is important that this happens automatically for a certain number of activities and that PS also exports files automatically to the folder.
Do you have this or a similar script that I could analyze, learn something about its structure and remember for the future?
Thank you in advance 🙂
Dawid
Copy link to clipboard
Copied
Hi, I'm just starting my adventure with creating scripts.
By @Dawid Wiącek
I'd suggest that you have given yourself a complicated first project.
I'd suggest that you start small and build knowledge upon knowledge via experience.
First, learn how to turn on or off a single layer's visibility.
Then how do you do this for layers within a set/group?
How do you then iterate over all layers and their content?
How to randomly select a layer inside a group? What really is random anyway? Perhaps you actually want something else?
https://github.com/mechanicious/photoshopCompositionComposer/tree/master
Copy link to clipboard
Copied
What really is random anyway?
I think technically »pseudo-randomness« is the best we can use so far.
Not that it should make a difference in most cases.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more