Copy link to clipboard
Copied
Inability to use two key combinations makes work uncomfortable: no capability to assign opacity on touch rings in graphics tablet or keyboard buttons. So was created scripts to adjust the opacity by two keys and I want to share them. These scripts make you able to set up hotkeys for changing the opacity. One decreases opacity setting on 5% and another one increase it in the same amount.
There are two script files in the archive:
and
. Put them into photoshop path to the scripts Photoshop/Presets/Scripts/
. After restarting Photoshop, the scripts are available in File
→ Scripts
.
Scripts are on top of the list
Open keyboard shortcuts preference choosing Edit
→Keyboard Shortcuts...
. In the list of command, go to File > Scripts
, find out installed scripts names and define your shortcuts for them. For example, this one:
opt+cmd+[
to decreaseopt+cmd+]
to increaseThe Application command shortcuts
After all steps, new custom hotkeys are ready to use for speed up your work!
Additionally-
You can set up your percentage amount of opacity in the script files. Replace var Amount count:
var Amount = 5; // Replace on your adjusted percentage
Copy link to clipboard
Copied
Inability to use two key combinations makes work uncomfortable
Maybe I misunderstand, but hitting 1 and 5 quickly in succession does work to set the Opacity to 15%.
Or what do you mean by »two key combinations« exactly?
Copy link to clipboard
Copied
Yes, the brush opacity has several variants of changed: by number keys, by brush HUD. But for me, it is an important have a way to change opacity like brush size ( [ , ] ) or hardness (shift [,shift ]). Maybe it is useful for somebody else.
Copy link to clipboard
Copied
My policy is not to install jsxbin scripts. No thanks.
Copy link to clipboard
Copied
My policy is not to install jsxbin scripts.
Valid point.
Over on the Scripting Forum it seems no problem for a lot of people to provide their Scripts in plain script.
Copy link to clipboard
Copied
My post in Photoshop forum (not Photoshop scripting). And it about how adding one more way to change opacity and no about how the script is inside. Sorry about that.
Maybe a little bit later I will add script without binary.
Copy link to clipboard
Copied
I understand. The scripts are part of my extension, and I share code only after the public — this post is about the approach.
Copy link to clipboard
Copied
I also would not install jsn bin scripts.
It seems to answer a question already answered - you can adust in the opacity value with the number keys. So if I type 23 opacity changes to 23%
Thread moved to scripting forum
Dave
Copy link to clipboard
Copied
It is ок) What will you do if you what to assign opacity setting to graphics tablet ring or buttons on it?
Also, thank you I think that i made a mistake to add some tags) However, i cant found functional for correction(
Copy link to clipboard
Copied
"So was created scripts to adjust the opacity by two keys and I want to share them"
opt+cmd+[
to decreaseopt+cmd+]
to increaseSeems to me you have to hit 3 keys
Copy link to clipboard
Copied
You can change it for any key combination. It is the only example. For me it is consistency with size to [ , ] hardness shift [,shift ]
Copy link to clipboard
Copied
Hi, thank you about this.
For many people it doesn't make sense but for me this was a good solution for my dials it worked on my macro keys and i solved the problem of increasing or decreasing the brush opacity without Use shortcuts from 1-9.
Best regards!