Almost every time I add a linear gradient to an object I want to change the angle from 0 to 90 degrees.
Is there a script that I could use for this, so that I could assign a keyboard shortcut and press that instead of clicking the box & typing 90 all the time? (i.e. select an object, run a script & it would apply the standard black to white linear gradient at 90 degrees instead of 0.)
I must argee that it's hardly worth the bother… Only saving a click or two. Add that shortcuts are for actions… If an action calls a script it will get broken at app quit so you need to reset it… Sorry…
Carlos, said graphic styles palette not swatches did you try this also? To do such a small thing is not really making the most of scripting… Change a 1000 in a click sure then you got our attention…
Yes, that's what I meant
(In the past I've tried dragging it the swatches palette, and it was buggy. I hadn't thought of dragging it to the graphic styles palette. I've now done that and it works great.)
Europe, Middle East and Africa