really a beginner at photoshop scripting.
Right now I’m making some scripts that are useful to me with my workflow like visibility toggle stuffs.
What I really wanted to know now is how to change not the ‘Layer Blending Mode’, but the ‘Brush Mode'(like normal, multiply, clear, etc…) using javascript. I can’t seem to find some resources to control the brush modes.
Hope you guys can help me and shed some light in this matter.
2
Answers
It is possible, here’s a snippet I pieced together, it works by creating an action and executing it. (Normally changing a brush mode can’t be done with regular actions, but it does work like this in CC 2017)
I ran in to the same limitations and used AutoHotkey to get around them.
This script sets Shift+e to Alt+Shift+r (clear brush mode) and Shift+r to Alt+Shift+n (normal brush mode).
Download AutoHotkey, save the script below as a .ahk, and double click it.
If you want it to run on startup, you can save it to the windows startup folder: