Skip to main content
Known Participant
January 19, 2016
Released

P: alt+right click drag resize opacity lock

  • January 19, 2016
  • 79 replies
  • 11576 views

Would be great to have an option that will lock opacity when resizing my brush with alt+right click drag, There is one for brush hardness, but never found one for opacity!

79 replies

victorg8387062
Participant
May 26, 2023

I can't believe that after all these years this is the only viable solution.

Thank you very much for this "hack". Whatever drawbacks it might have, at least I don't have to worry about painting, or worse, erasing with 99% opacity. I wish I new about this years ago.

Participant
February 15, 2023

 

This is hacky but here's what I use for Autohotkey to resize my brush and keep opacity at 100. The downside is opacity will ALWAYS go to 100 after sizing the brush using the shortcut. 

 

You can see that I'm overriding "d" key to resize my bush. So when I press "d" I have Auto Hot Key send alt and right click to photoshop instead.  Note that this works as long as you drag WITHOUT pressing the pen on the screen. Otherwise, I get an eyedropper.

 

You can change d out for whatever key you want to listen to. The part of the code that is actually setting opacity back to 100 after I change brush size are the Send{0 down} and Send{0 up}. 

 

#IfWinActive ahk_class Photoshop

 

$d::

Send {alt down}{Click,down,right}

 

KeyWait d

 

Send {alt up}{Click,up,right}

 

Send {0 down}
Send {0 up}
Send {0 down}
Send {0 up}
Send {0 down}
Send {0 up}

 

return

Participant
November 11, 2022

update: sadly upon further usage i found instances where it didn't work properly and still accidentally changed the opacity, also the that code is not quite right, as it locks horizontally just by pressing alt, which would also be the colorpick, so i'm sorry it's not really a solution after all, tho aoutohotkey is still a nice tool

Participant
November 6, 2022

found a workaround:

 

1. install AutoHotkey (free open source good stuff)

2. wherever you want click New -> AutoHotkey script

3. copy in this below the text already there: 

~Alt::
MouseGetPoS,,Y
While (GetKeyState("Alt","RButton"))
{
MouseGetPoS,X,Y2
If (Y2 != Y)
MouseMove,%X%,%Y%,0
}
Return

 

4. save and run

 

it makes the dispalyed cursor jump around a bit with stylus when i do the resizing, but the actual sizing is smooth and and works for me 🙂 (i also remapped the windows key to mouserightclick with it autohotkey, so i can resize with win+alt+drag, if u wana do that too, make another file, and copy in LWin::RButton, save and run)

c.pfaffenbichler
Community Expert
Community Expert
June 8, 2022
The problem exist and is has got more attention latyle (here). There can be many reasons for it to get "only" 27 votes in 6 years. For example, it is quite hard to find with google. And maybe a lot of people aren't just using this short cut feature much to resize brush 

If a Feature Request like 

https://community.adobe.com/t5/photoshop-ecosystem-ideas/p-bring-back-quot-shake-reduction-quot-filter-removed-in-photoshop-v-23-3-0/idc-p/12992346/page/9#M14803

can get 46 votes within 2022 or

https://community.adobe.com/t5/photoshop-ecosystem-ideas/p-bring-quick-share-back-to-photoshop-removed-from-23-3/idi-p/12890249

can get 71 votes within 2022 I think 27 votes in 6 years would not seem to hint at great »popular demand«. 

How Feature Requests are evaluated and prioritized at Adobe is naturally not visible to outsiders but I suspect these numbers would matter to some extent. 

c.pfaffenbichler
Community Expert
Community Expert
June 1, 2022
If you are answering 6 years old thread, maybe you could check what you said at the first time so you don't just repeat the same exact things you said already and was told why they don't work as a solution:

I apologize for not attentively re-reading the original post. 

khellstr
Known Participant
May 31, 2022

"If so: Have you ever tried unfollowing a six year old thread? "

If you are answering 6 years old thread, maybe you could check what you said at the first time so you don't just repeat the same exact things you said already and was told why they don't work as a solution: 

 

khellstr
Known Participant
May 31, 2022

My assumption that thist could be simple case technically is based on that there is alread possibility to change behavior from Opacity to Hardness. So there is a line of code somewhere which checks if it is "Opacity" then do X, If it is "Hardness" then do Y. So only thing neede to add there would be third option; "Nothing" which would do nothing. 

If Opacity/Hardness behavior is defined by Boolean, then that varialbe type should be changed. This would be probalby the hardest part. Which should not be hard, but I'm not a software developper .... 🙂  

In Preferences this could be set as Dropdown List instead of Toggle button. 
Vertical movement controls : Opacity / Hardness / Size / Nothing 

Downsite for this would be that list migth not fit the genral "theme" how preferences is set up now, as I don't see list used that way. 

But the approving etc, part might be biggest hurdly. There is probably quite high threasold to modify Preferences. 

Would be nice to know how hard it would be to create a script that would keep opacity at 100% all the time. 

victorg8387062
Participant
May 31, 2022
It can't be that difficult since they have already added an option to switch off brush roundness based on HUD vertical movement in preferences. That's one more tick box the need to add in the same place.
Participating Frequently
May 31, 2022

@khellstr I unfortunately would not assume that this is a very simple thing to do. Photoshop like some other original adobe products has a very old code base and it can get messy (not sure if that would be the case for this one task but it's a possibility), not mentionning the headaches of UI and adding new buttons to an already overcrowded environment and getting all of this approved by the team. It is work, it's just important for the employees to understand it's work that affect a bunch of illustrators and a lot more than it might seem.