Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
Tripredacus

Is it possible to add custom Explorer buttons?

Recommended Posts

I had this question recently. If you open Computer/Explorer, there is a button up to called "Make New Folder." Is there a way to make your own buttons to do other actions as well?

Share this post


Link to post
Share on other sites

You can take a look at this:

http://winjade.net/2008/06/custom-explorer-buttons/

But I don't know if it also applies to Windows 7 too.

I'm looking into creating/modifying the buttons that show up in the explorer command bar (the one with "Organize" etc...).

The buttons are stored for all kinds of folder types in this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes

I can add new buttons by adding some subkeys and values (see http://www.winmatrix.com/forums/index.php?...er-command-bar/ for details), but there's also a way to define an action, like most of the default buttons do.

Those actions are stored in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell, and they are added as buttons by adding their names in a ;-separated list in the default value of the Tasks(No)ItemsSelected keys. However, it seems that if there are such values, this way of defining the buttons overrides the buttons defined with the other method, and they don't show up.

I haven't figured out a way yet to define custom actions in the CommandStore key, if it's impossible to do this, it won't be possible to have the default buttons+custom buttons in each view, which would mean I would probably have to drop the default buttons ;)

For anyone who's wondering, I'm adding buttons that make the command bar act like a favorites bar in browsers, clicking such a button makes the explorer go to a specific location, much more useful than the predefined buttons I think ;)

Check here for details on what I'm doing: http://www.autohotkey.com/forum/viewtopic....p=306067#306067

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...