Hello I am absolute newbie to scripting but I use photoshop for artwork and painting. Heres my scripting question.
Is it possible to create a script button (like in configurator or something), that changes blend modes on a single click?
For example Im painting with the chalk brush but I need to do some erasing. I want to erase with that same brush/same size and usually that requires a few steps. The quickest way is to change the actual paint brush mode to "CLEAR". I tried creating an actionscript that just changes my brush mode to clear in a single step but photoshop doesnt seem to register changing Brush Blend modes so Im here asking you guys if its possible to do with scripting?
Change Blendmode Script?
-
pfaffenbichler
Change Blendmode Script?
I am not optimistic about this.
I have previously not been successful with editing CurrentToolOptions and those seem the main suspect for this (apart from presets, but those would not fit for your intentions).
And is hitting ctrl-shift-+ three times (if you are on Blend Mode Normal) really such a hassle?
I have previously not been successful with editing CurrentToolOptions and those seem the main suspect for this (apart from presets, but those would not fit for your intentions).
And is hitting ctrl-shift-+ three times (if you are on Blend Mode Normal) really such a hassle?
-
coreyart
Change Blendmode Script?
Thats very tricky thing to do when ur drawing. Its awkward to do. So yes it is a hassle. However you gave me an idea. Isnt it possible to create a script button that just does the keyboard shortcut? Also the reason I ask is not just for me but for a friend who can only use one hand but loves to digital paint.
-
pfaffenbichler
Change Blendmode Script?
Simulating key press events varies with the OS and it seems that can provide problems, too, but hopefully you can figure it out.
Determining the Tool’s current Blend Mode is possible by the way in case you need that to determine how often the key press is to be simulated.
Determining the Tool’s current Blend Mode is possible by the way in case you need that to determine how often the key press is to be simulated.
-
Revnart
Change Blendmode Script?
Shortcuts like:
Shift+Opt+M (Multiply)
Shift+Opt+N (Normal)
and so on, are changing blend mode to the one you need.
if you have selected layer (V) it will change blending mode of layer, if you are using brush it will change brush blend mode.
You can record action that change currently selected layer mode to in example: Shift+Opt+M (Multiply), but actions will not record changes in brush blend mode.
If there is a way of writing script that triggers desired shortcut that would be solution I guess?
Shift+Opt+M (Multiply)
Shift+Opt+N (Normal)
and so on, are changing blend mode to the one you need.
if you have selected layer (V) it will change blending mode of layer, if you are using brush it will change brush blend mode.
You can record action that change currently selected layer mode to in example: Shift+Opt+M (Multiply), but actions will not record changes in brush blend mode.
If there is a way of writing script that triggers desired shortcut that would be solution I guess?
-
tyr
Change Blendmode Script?
AFAIK there's no way to change brush blend mode with script. For most blendmodes I use hotkeys, they're quite close to use with left hand only except for Normal, so I bound alt+shift+n to tablet's Radial Menu. But there's a quite involved way to simulate blendmode change: you can use software like AutoIt (Win) or Quickeys (Mac) to rebind keyboard for Photoshop particularly, for example you can rebind something close to left hand (like alt+q) to alt+shift+n. I use Quickeys a lot to rebind the keys that PS doesn't allow to rebind (like ±, §, ` and so on)
Plus here's a solution for emulating keyboard on Mac: bb/viewtopic.php?f=9&t=5582
Plus here's a solution for emulating keyboard on Mac: bb/viewtopic.php?f=9&t=5582