From what I remember Photoshop JavaScript reference does not list a straightforward way to access some aspects of Photoshop like Gradient Presets for Gradient Map. I hope that more experienced users here can point me the way to script such elements.
In more general terms how do you access textures, brushes, layer styles, layer comps via script? I am sure that all of those elements are part of some array or collection, so there should be the straightforward way to get hold of such collection, count its elements and access each element in turn, its properties, methods (if any), etc.
I guess with enough experience reading Script Listener output I could figure it out on my own, but I hope gurus here can give a hand for a better way.
qwerty123
Random Gradient Preset for Gradient Map?
-
Mike Hale
Random Gradient Preset for Gradient Map?
Adobe doesn't have a good way for working with presets even with Action Manager.
Have a look at Xbytor's xtools. It has custom classes and demo scripts for working with presets. It still doesn't give you access to everything but it does a lot and I glad Xbytor put in the effort.
LayerComps is a DOM collection of layerComp objects. It's not normally lumped in with the other preset manager items.
Have a look at Xbytor's xtools. It has custom classes and demo scripts for working with presets. It still doesn't give you access to everything but it does a lot and I glad Xbytor put in the effort.
LayerComps is a DOM collection of layerComp objects. It's not normally lumped in with the other preset manager items.
-
qwerty123
Random Gradient Preset for Gradient Map?
Hi Mike,
thank you for reply.
I will take a look at the Tools.
qwerty123
thank you for reply.
I will take a look at the Tools.
qwerty123