0 Replies Latest reply: Sep 23, 2011 7:43 PM by zhpingw RSS

    Create a panel to switch to favorite brush quickly

    zhpingw Community Member

      I'd created a demo panel by configurator which can put a list of your favorite brush and switch them quickly.


      screenshot.24-09-2011 10.34.59.jpg


      Left is an image widget, picture is clip from screen shot of brush manager.

      Right is a script button with script code like these:


          var V1 = new ActionDescriptor();
          var V2 = new ActionReference();
          V2.putName(charIDToTypeID("Brsh"), "Soft Round");
          V1.putReference(charIDToTypeID("null"), V2);
          executeAction(charIDToTypeID("slct"), V1, DialogModes.NO);