Results 1 to 5 of 5
  1. #1
    New Lounger Joey's Avatar
    Join Date
    Dec 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

    Greetings,

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

    Win7Toolbar.png


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

    NewTextDocument.png


    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...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.
    Last edited by Joey; 2014-06-21 at 22:29.

  2. #2
    Star Lounger
    Join Date
    Apr 2011
    Posts
    99
    Thanks
    5
    Thanked 18 Times in 17 Posts

  3. #3
    Star Lounger
    Join Date
    Feb 2012
    Posts
    58
    Thanks
    2
    Thanked 5 Times in 4 Posts
    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/Prog...r-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
    Last edited by iTobaman; 2014-06-23 at 09:30.

  4. #4
    New Lounger Joey's Avatar
    Join Date
    Dec 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I will experiment with that. Thank you for trying to help.

  5. #5
    New Lounger Joey's Avatar
    Join Date
    Dec 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

    PAF-1.png

    PAF-2.png

    PAF-3.png

    PAF-4.png

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •