Skip to main content
Inspiring
January 4, 2017
Question

Changing brush settings (in particular Color Dynamics)

  • January 4, 2017
  • 1 reply
  • 924 views

I would like to be able to change brush settings like Shape Dynamics, Scattering, Color Dynamics, Transfer etc. I've looked both on this forum and on ps-scripts and all I've been able to find are some comments that these cannot be changed by scripting. Does anyone know for a fact if this is true, or better still, does anyone know how to change these settings?

I have come across scripts to change Mode, Opacity, Flow, Size etc.

Thanks

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
January 4, 2017

Round tiped standard Brushes can be scripted somewhat.  Also a script can select the Photoshop tool then select a  Tool Preset for the brush tool.   Tool Brush Presets have all the brush setting save for the tool preset you created need not be a round tip and color can be included in the presets..  So you can create a set the Tool Presets for Brushes you want to use.  Than your script can switch between the set of Brush Tool Presets you created and loaded into Photoshop..   With your tablet  Alt+Right Click+Dragging can change the brush's Shape and Transfer Dynamics.

If you search this forum you will find information and sample scripting code that should be helpful.

JJMack
RA5040ARDAuthor
Inspiring
January 4, 2017

Thank you for your answer.  When you say that round-tipped standard brushes can be scripted somewhat, does that include making changes to, for example, Color Dynamics and the settings for Color Dynamics (for example Foreground/Background jitter and Control)?

But at any rate if these are the only brush types that can be changed it isn't of much use to me unfortunately, as I use all of the Photoshop brush types.  Also using tool presets isn't an option for me as I have a very large number of brushes, and setting up multiple tool presets for each wouldn't be practical.

JJMack
Community Expert
Community Expert
January 5, 2017

Did you search the forum to look at the sample code provided.  I forget the exactly the things that can be set with Action Manager code. As far as I know the foreground color could always be scripted via Photoshop DOM code. That is the color the brush Paints with. There is also brush settings for Color Dynamics.  All Brush setting can be stored in Tool preset for Photoshop brush tool. Script code can select the Brush tool and select tool presets.   If Presets are not practical then you need to use Photoshop UI and do what you want manually all the time be it practical or not. It is your work-flow do what is best for you. Preset are saved setting the Photoshop stores they are canned setting you can select. The settings are not set via scripts variables.  Not all things are can be scripted. Presets can be a great time saver even when you are manually using Photoshop UI. Selecting a tool presets  save a lot of manual steps setting up your brush settings.

JJMack