• How Can You Create A “New Text File” Button On The Windows 7 Explorer Toolbar?

    Home » Forums » AskWoody support » Windows » Windows 7 » Questions: Windows 7 » How Can You Create A “New Text File” Button On The Windows 7 Explorer Toolbar?

    Author
    Topic
    #495269

    Greetings,

    1. I want to create a “New Text File” button on the Windows 7 Explorer Toolbar:

    37239-Win7Toolbar

    2. So that when I click on the button it, it will create a “New Text Document” in Windows Explorer:

    37240-NewTextDocument

    I know this can be done somehow in the registry; but I’m not exactly sure on the correct procedure, Please
    refer to the following article:

    http://www.sevenforums.com/tutorials/129401-windows-explorer-toolbar-buttons-customize.html

    There are two programs available that can add or remove buttons on the Windows 7 Toolbar but none have the ability to what I want:

    NirSoft CustomExplorerToolbar 1.05

    Winaero Explorer Toolbar Editor 1.0.0.1

    I do not want to right click > New > Text Document and I don’t want to use a keyboard shortcut. I want the
    button.

    Can anybody here be so kind as to explain in detail on how this can be done in the Registry?

    Thank you.

    Viewing 3 reply threads
    Author
    Replies
    • #1457407
    • #1457409

      The webpage you reference gives instructions for adding any of the Windows Explorer command buttons that Microsoft includes with Windows 7 to the Windows Explorer toolbar. That’s not what you want. Those do not include New Text Document.

      You want a custom command button.
      http://www.experts-exchange.com/Programming/Microsoft_Development/A_2173-Add-a-Custom-Command-Button-to-the-Windows-7-Explorer-Toolbar.html

      That exterprise is arduous. It requires not only extensive finagling with the Windows Registry, but also creating a custon icon and finding an executable to carry out the command. Just thinking about it has me wanting to lie down.

      Can you be tempted with something doable? How about something one-click but not a button? This little AutoHotKey thingy remaps the middle mouse button when the context is Windows Explorer to simulate the keypresses

      Alt+f
      m
      t

      This works whenever those keypresses work. Some programs customize the menus. When files of certain types are selected (e.g., .vbs files, .js files), Windows modifies the file menu.

      Code:
      ; Remap middle mouse button when the context is Windows Explorer
      ;
      ; AppsKey doesn't work here when a file/folder is selected; Alt+f does.
      
      
      #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
      #Warn  ; Enable warnings to assist with detecting common errors.
      SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
      SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
      #Persistent
      #SingleInstance
      
      
      #IfWinActive, ahk_class CabinetWClass
      MButton::
      {
      	Send, !f
      	Sleep, 250
      	Send, w
      	Sleep, 250
      	Send, t
      	Return
      }
      #IfWinActive
      
    • #1457560

      I will experiment with that. Thank you for trying to help.

    • #1457778

      I found an obscure program called Paste As File http://paf.pen.io/ It adds an entry in the right click context menu so that when you click on it, it paste the contents of the clipboard to a new file in the current folder ready for renaming. This is exactly what I was looking for. I was only interested in working with text files but this little jewel of a program goes even further; it can paste to many different file formats besides TXT including RTF, PDF, JPG, PCX, PNG, TGA, GIF, & TIF. Also, if you want HTML you can change the extension of the TXT to HTML. The developer states it can be used working with PHP & CSS as well. It’s regularly updated and only costs $10.55 and you get free upgrades. It’s fantastic.

      37264-PAF-1

      37265-PAF-2

      37266-PAF-3

      37267-PAF-4

    Viewing 3 reply threads
    Reply To: How Can You Create A “New Text File” Button On The Windows 7 Explorer Toolbar?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: