With a little work you can make it easy to use the [ and ] shortcut keys to scale the brush up or down by 10%.
Two steps are involved.
1. You create two buttons which will use embedded scripts to scale the brush.
2. You can then assign one button to the [ shortcut key and the other to the ] shortcut key.
Step one, creating two buttons:
In the Custom Panels Menu choose New Custom Panel.
In the new custom panel, right-click on the panel name so you can rename the panel to My Panel.
Create a button by right-clicking in the Panel and choosing Add Action.
Name the action DownSizeBrush.
click on the End line and choose Embedded George Script.
Type (or cut and paste) the following 4 lines into the Script's command window:
Code: Select all
tv_BrushRestore SIZE
parse result dummy BrushSize
BrushSize = BrushSize - 10
tv_BrushRestore SIZE BrushSize
Click OK to close the Embedded George Script.
Click OK to save the new button.
Now Create another button the same way but name it UpSizeBrush.
Same as you did last time, click on the End line and choose Embedded George Script.
type exactly the same script but for line three type:
BrushSize = BrushSize + 10
Click OK to close the Embedded George Script.
Click OK to save the button.
You should now have two buttons in your new My Panel.
You can test that the buttons work by selecting a brush and clicking on either of the two buttons to shrink or enlarge the brush...
Step two, Assign the buttons to the [ key and the ] key:
Press Control + K to open the Configure Keyboard Shortcuts panel.
In the right panel window, look for My Panel and click the + next to it.
you should see two options listed:
DownSizeBrush
UpSizeBrush
(these are based on the name you assigned to the buttons in your My Panel.)
All you have to do now is Assign these to your [ key and your ] key.
Once you test the [ and ] shortcut keys out, you can permanently hide the My Panel panel.
(You can change the scripts' values of + 10 or -10, to make the shortcut key increments whatever you want.)
In the future, you might want to create other buttons (and embedded scripts) that do other operations like changing Opacity, or Angle.
In the existing My Panel panel, create new buttons and add them following the same two steps as above.
Sven