

press the h key 3 times and it rotates the brush to *approx* 180 degrees press the h key 2 times and it rotates the brush to *approx* -90 degrees press the h key 1 time and it rotates the brush to *approx* 0 degrees (might be between 0-3)
#Autohotkey photoshop move colorpicker to mouse full#
It doesn't work smoothly like the rotate canvas tool, it does it in intervals, but it does the trick in a half-assed wayĪlso, there is a timer as to how fast you need to press the h key, so if you press it 4 times, you need to do it quickly (In under a half second, but you can also change this timer in the script - change:Ĭhange the 500 to 1000 to allow for a full second to press the key 4 times.Ĭheck it out and then ask more questions when you need to. I believe this script currently allows only 4 rotation intervals: 0, -90, 180, -145 degrees, but you can add as many as you like. So when you press h once, it rotates the brush to 0 degrees, and when you press h twice, it rotates it a bit, and when you press it 3 times, it rotates it even more.

Right now the script uses the h key to trigger the brush rotation, but you can change that to whatever you want, including any mouse buttons. To whatever your keyboard shortcut is to display the brush panel.Īnd then, you need to change each MouseMove co-ordinates (1280, 320 for example in my script) to the proper co-ordinates of wherever your brush rotation circle appears on your screen (use window spy to get the exact co-ordinates, and make sure you use the "in-active window" co-ordinates). So my script uses a keyboard shortcut to display the brushes panel (mine is shift/ctrl/a, but yours will be different), and then when the panel opens, it uses MouseMove to automatically place the cursor over the brush rotation circle/arrows on the brush panel and also to automatically left click at certain co-ordinates ontop of the circle so it rotates the brush. The way my PS setup works is that I do not have the brushes panel open at all times I have it collapsed to a single icon and when I click the brushes icon, it displays the panel. Just so you know, I'm a complete novice and have next to no idea what I'm doing, so this script is likely messy and very primitive, but it does do the job

This is very coincidental as I had programmed a script to do this exact same thing about a week or two ago.
