Jump to content

Is it possible to add custom Explorer buttons?


Recommended Posts

Posted

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?


Posted
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...