animicule wrote:
Maybe I don't understand your wish,
or maybe in your script there is no flush after making the selections?..
What flush do you mean?
Let me give a simplified example. Script defines 2 procedures: select_next_brush and select_next_eraser
When I call select_next_brush first time, it selects first from my predefined tuples (paintbrush tool, dynamics, brush).
When I call select_next_brush afterwards it selects next
When I call select_next_eraser afterwards it selects first from my another predefined tuples (eraser tool, dynamics, brush)
When I call select_next_brush afterwards it switches to last used tuple (paintbrush tool, dynamics, brush)
Moreover, whenever I switch tool, I preserve last brush size and restore it when I switch back.
By binding select_next_brush and select_next_eraser to keyboard I allow myself very fast switching back and forth between these bundles of parameters (tool, dynamics, brush, brush size). It will be quite convenient for my digital painting process.