Toggle Tool Presets

hi, this is a follow-up on another thread concerning toggling between a brush tool preset and an eraser tool preset. I've assembled the following script (mostly from csuebele) to try to toggle between "AIRBRUSH 1" (brush tool preset) and "Eraser Chiseled" (eraser tool preset). But it only works for the eraser tool preset when the eraser tool is active. It won't work with the brush tool preset whenever the brush tool is active, it gives an error "The command "select" is not currently available".
function getCurrentTool(){
       var ref = new ActionReference();
           ref.putEnumerated( charIDToTypeID( "capp" ),
charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
        var desc1 = executeActionGet(ref);
       desc1 = desc1.getList(stringIDToTypeID("tool"));
         desc1 = desc1.getEnumerationType(0);
         desc1 = typeIDToStringID(desc1);
         return desc1;
       if(getCurrentTool() == "brushTool"){
// =======================================================
var idslct = charIDToTypeID( "slct" );
    var desc3267 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var ref1620 = new ActionReference();
        var idtoolPreset = stringIDToTypeID( "toolPreset" );
        ref1620.putName( idtoolPreset, "AIRBRUSH 1" );
    desc3267.putReference( idnull, ref1620 );
executeAction( idslct, desc3267, DialogModes.NO );
// =======================================================
          }else{
             var idslct = charIDToTypeID( "slct" );
    var desc3276 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var ref1625 = new ActionReference();
        var idtoolPreset = stringIDToTypeID( "toolPreset" );
        ref1625.putName( idtoolPreset, "Eraser Chiseled" );
    desc3276.putReference( idnull, ref1625 );
executeAction( idslct, desc3276, DialogModes.NO );

I guess the link in the earlier thread answered it for me. Apparently, the user order cannot be saved in the Tool Presets, though they can be in the Brushes Presets.
I solved my issue by adding "Artist's" in front of the brushes I need near the top, like Artist's Round Chalk - Opaque.
Regular Brushes are in a groupling below the Mixer Brushes.
I'd love to see this changed in a future version of Photoshop.
M. Jackson

Similar Messages

  • Undocking Tool preset palette photoshop CC

    Hello community,
    is there a way to undock Tool preset palette, (this one - http://www.photoshopforphotographers.com/CC_2013/Help_guide/tp/Tool_Presets_palette/tool_p resets.jpg), from a top bar?
    It would save me a bunch of time if the palette would be open and free-floating at all times - i usually make custom brushes for different projects and switch between them often.
    Photoshop CC 14.2.1x64
    Windows 7 SP1
    thank you,
    -k

    Like RK says.  You can turn on the Tool Presets panel from the Window menu.  It colapses to a single square, and I dock mine on the right side of the main monitor where you can toggle it to expand and colapse with a single click. 
    (The thin strip to the right of the icons is the left hand edge of my second monitor.)

  • Photoshop CC - Missing Tool Presets

    I have just wasted over 2 hours with the adobe 'Customer Care' people trying to find out why I get the message 'No Tool Presets Defined for Current Tool' and this included them remote connecting to my iMac via 'TeamViewer'. The person concerned then sent me links to tutorials on the use of the Spot Healing Brush but they were no help whatsoever and CustomerCare have been unable to solve my problem and, to add insult to injury, the so-called 'care' expert, closed down our Chat without explanation. Fortunately their system has automatically sent a transcription of the chat.
    Anyway, to explain the problem:
    I opened an image (.dng) in Bridge which then automatically opens CameraRaw. I clicked on 'OpenImage' which then opens Photoshop. However, when I click any of the tools in the Tools Panel, the Spot Healing Brush as an example, I get the message "No Tools Preset Defined for Current Tool" so no sign of the Healing Brush, Patch, Content-Aware or Red Eye Tools. The Clone Stamp doesn't show Pattern Stamp tool, the Marquee tool only shows the Rectangular tool and so on. This applies whether I click or hover over the tool within the Tools Panel itself or when I click on the downward arrow in the Options Panel for the tool in question. A few of the tools do show some presets but not all of them.
    Please please help
    PS. Does anyone know how I can complain to Adobe about a very shoddy example of support?

    I'm a windows user so I do not know  the Adobe Photoshop environment on the Mac or the versions of Mac OS.  The only suggestion I could make would then be try using Adobe Cleaner to clean off Photoshop then  install Photoshop  Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How to fill Tool Preset picker?

    When I select Custom Shape Tool, the Tool Preset picker on the upper right is empty despite the fact that there are a few dozen Custom Shapes loaded as can be seen in the Preset Manager. But how do I get those loaded shapes to appear in the picker?
    If I go to the Tool Preset pickers' flyout and select Load Tool Presets and navigate to .csh shape files, they appear light gray, ie, they cannot be opened/loaded.
    With no shapes in the picker, I know of no way to access the Custom Shapes that are loaded as seen in Preset Manager.
    Any help appreciated!

    Thanks!
    Btw, what's "my manual"? The box CS5 came in contained no manual. When I select Ps from Applications, it lists a number of folders and a Read Me pdf file, but no manual. I'm sure that's a totally stupid quesiton, but then that's my kinds quesiton!

  • Width tool presets drop down, extend the box

    just wanted to extend the box of the width tool preset drop down. in the control panel.

    Yes we can achieve this. But you need to use internal table in dropdownlist as show below:
    <b>Onintialization</b>
             entry-name = 'IC'.   entry-value = 'IC Text'.
             APPEND entry TO itab.
             entry-name = 'PM'.  entry-value = 'PM Text'.
             APPEND entry TO itab.
    <b>Layout</b>
          <htmlb:dropdownListBox id                = "LIST"
                                  nameOfKeyColumn   = "NAME"
                                   nameOfValueColumn = "VALUE"
                                   width             = "300"
                                   selection         = "<%= doc_type %>"
                                   onSelect          = "DDLB1Event"
                                   table             = "<%= itab %>" />
    <b>Page attribute:</b>
    entry     TYPE     IHTTPNVP
    itab     TYPE     TIHTTPNVP
    <b>OnINputprocessing:</b>
    CALL METHOD REQUEST->GET_FORM_FIELD
              EXPORTING
                NAME  = 'LIST'
              RECEIVING
                VALUE = doc_type.
    delete itab where name = doc_type.  " This will remove selected entry from Itab.
    if doc_type = 'IC'
             entry-name = 'IC'.   entry-value = 'IC Text'.
    else.
             entry-name = 'PM'.  entry-value = 'PM Text'.
    endif.
    insert entry to itab index 1.
    <i>* Reward each useful answer</i>
    Raja T

  • Group Tool Presets ?

    Is it possible to create folders within the tool preset panel to group tool presets, instead of having a long list ?

    I thought about scripting something like this, getting into Ps internal panels can be troublesome.  Hopefully they include this option in a future release, thanks

  • CS5 Crop Tool Presets Not Working - HELP!

    I am using CS5.  The Photoshop crop tool presets are not working.  For instance, if I use the Preset 8 inch x 10 inch and drag on an image which is say 12 x14 the crop does not stop at 8x10 but continues on to cover the whole image OR it covers only a portion of the image but the size of the crop is NOT 8x10 - it might be 10x12. 
    Actually there doesn't seem to be any rhyme or reason to what it is doing.
    I have cleared it, reset it, saved (my own presets) and reloaded.  I have closed out of Photoshop and even rebooted my computer. 
    Any Ideas what is going on and how to fix it?  All help will be greatly appreciated.
    Regards, Getting Really Annoyed

    It's kinda hard to tell from your description, but try the following
    and see if it helps:
    Make sure you don't have any values entered in the tool options bar
    for the width, height and resolution. If you do, use the clear button.
    If still not working, try resetting the photoshop preferences:
    Hold down the shft+alt+ctrl keys while starting photoshop, continue holding the keys
    until a dialog appears asking to reset the settings file, click yes.
    MTSTUNER

  • Tool Presets - resorts the tool order without permission

    Does anyone know how to save a set of Tool Presets and have CS3 keep the tools in the order that I set in the Preset Manager?
    I reported this as a bug over 2 years ago to Adobe, and they acknowledged the bug in CS2, but it STILL appears to be a bug now in CS3.
    Unless I'm doing something wrong?
    Thanks

    Neil, yes. Just wishing...
    What really needs to take place is for Adobe to spend 0.01% of its revenue LISTENING to users and developers.
    Sigh...

  • How do I turn off Web Developer Toggle Tools to just use Inspector by itself?

    I was using Inspector by itself. Sometimes Inspector has problems inspecting so I shut down Firefox and re-open it. I did this. When I reopened I use Ctrl + Option + i to open Inspector and it automatically opens Toggle Tools (all Web Developer options). I can find no help on how to switch it back to JUST using Inspector. The same thing happens with Debugger and Style Editor (their shortcodes open ALL the tools).
    I can not get this function to turn off.

    You should be able to use a menu bar at the top of the Developer Toolbox to select the various tools.
    You can only select one tool at the time and opening the Inspector should give you an HTML panel and a Style panel
    *https://developer.mozilla.org/en/Tools/Page_Inspector
    *https://developer.mozilla.org/en/Tools/Page_Inspector/HTML_panel
    *https://developer.mozilla.org/en/Tools/Page_Inspector/Style_panel
    You can detach this panel via the two Doc button at the right hand side of the developer toolbar.<br />
    The style panel moves to the the bottom if the window width is below a specific width.

  • Moving Tool Presets From CS to CS3

    Hi,
    I have a bunch of custom tool presets I have made over the years in PS CS1. For example, I have several custom crop presets I have made (with different widths, heights, resolutions). I have now installed CS3 and am wondering if I can move them over to it? If so how? I hope I do not have to create them all again.
    Thanks in advance for any help.
    Paul W.

    From the Tool Presets Palette flyout OR the Presets Manager choose Save Tool Presets. Name them and Save them somewhere and you can transfer them over using Load in the Presets Manager. You can also transfer them to other computers, put them on a sever, etc.

  • How to save tool presets as brush presets?

    I have some tool presets that would be very useful, but I normally just go to brush presets, which i have organized and which provide greater flexibility. Is there a way to turn "tool" into a "brush"? Going through defining brush presets, forced me to adjust all kind of things, but as tool presets they are already perfect. There has to be a way to do it easier! Hope you can help.

    gener7 wrote:
    Btw, just heard LinkIn just brought Lynda.com. Hope it doesn't become a train wreck under the new management.
    Gene
    I'll ad a giant AOL 'Me Too' to that Gene.  I don't blame Lynda and Bruce when there is $1.5b on the table, but I think it a sad reflection on our times that a dot.com that has questionable worth to our society, can afford to pay so much money for a genuinely useful service like Lynda.com.  Apparently they started with $20k and have built it up with no outside help, so they are sitting pretty right now.
    My concern is that the focus of Lynda.com does not shift even remotely towards business type courses, and away from creative.  BTW  I am absolutely loving my Lynda subscription.  It seems that no matter what the subject, if you ever get stuck on something, there is a world class course to put you straight. As regards Photoshop, I considered myself at least an expert, yet I have been able to find game changing new tips on almost a daily basis.  Or sometimes just a better way of doing things.  It absolutely helps to go into the expert courses with a good working knowledge, because it means you pick up the content straight away, and hopefully remember it. 
    Somebody was smiling down on me the day I was about to commit $250 for a year's subscription, and literally as I sat down at the computer, there was a ping to tell me a new email had arrived, and it turned out to be offering that same subscription for $150.  I suspect the apparent coincidence was driven by my recent visits to the site, but if that email had arrived ten minutes latter, I'd have been down a $100.  :-)

  • Type tool preset changes after switching tools?

    How can I keep my type tool preset from going back to the default after switching tools?
    I have a type tool preset that I use and then I go to another tool to do something -when I switch back to the type tool I have to re-click on the preset to activate it again. How can I keep this preset active?

    Reset your PS preferences (CMD+OPT+SHIFT) when you launch it.
    The tools should hold their most recent setting after that.

  • Brush presets / tool presets - confusion

    I'm by no means a beginner (I think this I'm in my 15th year using Photoshop..), but something that's always bugged me is the difference between brush presets and tool presets. It's never been much of an issue in the past, but I'm spending an increasing amount of my workflow drawing digitally using various brushes, and I'm finding these two different ways to save and import brushes quite confusing. If I've altered a brush, and want to save it, what are the advantages / disatvantages of saving it as a tool preset, or as a brush?
    I have my favourite pencils saved as tool presets, which works fine, but I don't see what the brush presets do that is different from this. Is there a 'right way' to organise / save brushes? What's actually the difference between the 2 things? Are they totally interchangeable?

    So going by what you said, that means the Tool Presets store tool specific settings (flow, opacity etc), as well as the brushes themselves. Is that correct?
    Brush Presets (see Brush Preset Panel, not just the Brush Panel) can be used by all painting Tools. Tool Presets refer to a specific Tool but can indeed hold a Brush tip that has been removed from the Brush Presets.

  • How is image resampled when using Crop Tool Presets?

    If I use the Crop Tool preset of 4 X 6 inches on a 8 X 10 inch image of the same resolution, what type of interpolation does PS use to reduce the image size? I am reducing the size of a finished multilayered file to insert it into a greeting card template.
    I know that when using the Image Size dialogue, you can choose whatever type of image interpolation you want, like bicubic sharper for reducing the size of an image. Can you do the same with the Crop Tool? Thanks.

    chris -
    could this be included in the option bar to change the resampling per instance instead of a prefs setting?  I set up some actions to change the prefs for up and down scaling and then revert to the default pref setting. But it was never convenient so I don't use the actions.
    or maybe just and pref to use "smart scaling" that chooses the interpolation method based upon whether it is up or down scaling.
    j

  • No tool presets defined for current tool ... how can i fix this ?

    no tool presets defined for current tool ... how can i fix this ?

    I don't have any presets for the rectangular marquee tool either...but if you have saved some you can load them using the right hand flyout menu.
    Where I have made presets they all appear in the drop down list.
    Sorry, I don't know about Mini Bridge. I don't use Bridge.

Maybe you are looking for

  • ACS for Windows 4.1 - two issues

    Hi, Now that I have my ACS 4.1 server running on Windows 2003, I'm having two issues: 1) I can't view the admin interface with Internet Explorer 7. It just tells me that "Some content or files on this webpage require a program that you don't have ins

  • Summing

    Hi all] just need a bit of help i have to write a javascript program to add numbers i can find plenty on adding just 2 numbers together but im having trouble as i have to add 1 to 10 or even 1 to 10,000. Im not having much help when i search the inte

  • Sales order costing error found in quotation 2 order line items created in

    Sales order costing error found in quotation 2 order line items created in quotation 5000562 1st line item with third party 2nd line item with PTO Purchase price was entered in the configuration screen 1st item : 2,000 EUR 2nd item: 1,200 EUR Purchas

  • Workflow Aproval - Non standard (Problem in the Worklist - bbpbwsp)

    Helo, I have build one approval workflow to the process bid invatation. In this workflow i have one task (non-standard) where the user can approve de process. The client use de ITS SRM, the worklist used is the BBPBWSP. When the Workflow start, the a

  • Some photos not showing in my Camera Roll album, can only find them if I use 'Places' and select where I took the photo

    Basically as the title says, I've noticed when trying to  find some photo's I've taken in the past few months in my Camera Roll album (in the Photo's app), I can't find them anymore. But, if I choose 'Places' (instead of Albums at the bottom of the P