Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: WordPad Custom Template Workaround



WordPad Custom Template Workaround

How to Create a Custom WordPad Template
Published by debugged
11 Feb 2011
Published by

WordPad Workaround
The problem is that WordPad doesn't let you choose a default font, it's always Calibri 11, line spacing 1.15, and 10pt spacing after paragraphs. You can't change WordPad, but you can easily open new .rtf documents with default settings of your choice.



Create an .rtf template file
(Note: For now, this is called "template.rtf", but you can name it anything you want.)
1. Open a WordPad document. Type a space with the space bar. Click Ctrl+A to select the space.
(Note: If there is no "space" to select, your changes will not persist.)

2. Make your changes to font, size, line spacing, etc.
WordPad Custom Template Workaround-space-ctrl-.jpg
3. Click on the WordPad dropdown (top left corner).

4. Select "Save as" > "Rich Text Document" to your Desktop, naming it template.rtf.
Name:  rich-text.PNG
Views: 3492
Size:  46.7 KB
5. Right-click the saved template.rtf file and select Properties.
Tick the Read-only box and click OK. This protects the file from accidental changes.
Create a right click > New > Rich Text Document menu item with your customized defaults:
(Note: It is called Rich Text Document if you have not installed Microsoft Word; with Word installed, it is Rich Text Format)
1. Copy template.rtf to this directory: C:\Windows\ShellNew

(Note: If ShellNew folder is not there, create it.)

2. In Regedit, Export this key as a backup:
HKEY_CLASSES_ROOT\.rtf
3. Registry Changes - Select the appropriate subkey:



Option One:
If you have not installed Microsoft Office


Go to: HKEY_CLASSES_ROOT\.rtf\ShellNew




Option Two:
If you have installed Microsoft Office


Go to Default Programs > "Associate a file type.....".
Select .rtf, click the Change program button and change to WordPad

Now open Regedit and go to:
HKEY_CLASSES_ROOT\.rtf\Word.RTF.8\ShellNew
4. Right-click on right-hand pane > New > String value
WordPad Custom Template Workaround-shellnew-new-string.jpg
5. Name it: FileName

6. Double-click on the string "FileName" and in the "Edit string" box:



Option One:
If you place template.rtf in C:\Windows\ShellNew

Type: template.rtf
WordPad Custom Template Workaround-edit-string-template.rtf.jpg



Option Two:
If you want WordPad to target the template.rtf file in any other directory:

Double-click on the string "FileName" and in the box, give it the value: the full path to template.rtf
For example: K:\Documents\Computers\Wordpad tweaks\template.rtf
(Note: Do not enclose the path in quotes)
7. OK and exit Regedit.


Now when you right-click and select New > Rich Text Document/Format you get an .rtf document that has your preferred settings. A new file can be easily created in any directory, you can immediately rename it after it is created, and you can simply close and save changes without going through the Save-as dialog.

(Note: if you don't immediately see Rich Text Document/Format in the Right-click > New menu, open any .rtf document and close it, just to wake up Windows and WordPad!)





Shortcuts:

1. Place a shortcut to your template .rtf file on the Desktop or in Quicklaunch.
NOTE: The drawback is that you must rename and choose a location with the Save As dialog whenever you change content and close the file.

2. Customize the Wordpad shortcut that comes with Windows:
Start > All programs > Accessories > WordPad:
Right click > Properties. Select the Shortcut tab, click the Target box.

At the end of the existing target, type a space, followed by the path to your template file.

For example:
(Note: You need quotation marks here if there are spaces between words in the path.)

"C:\Program Files\Windows NT\Accessories\wordpad.exe" "K:\Documents\Computers\Wordpad tweaks\template.rtf"



Then click OK.



information   Information
Modifying your template .rtf file in the future:
Untick the Read-only box temporarily. Then follow the same procedure as you did when creating the template.rtf file.

If you ever uninstall Microsoft Word:
It sometimes rips out the .rtf registry key with it. Attached is a zipped reg file to restore the default HKEY_CLASSES_ROOT\.rtf key (without the subkeys put in by Word).


rtf default.zip


.

28 Apr 2011   #1
vfreak

Windows 7 Ultimate RTM x64
 
 

niiiiiiice!

THIS is what I'm after!!!

Thank you!!!!!

right click shellnew item with my customised formatting, perfectly working!

just to say, I had to add the reg string to
HKEY_CLASSES_ROOT\.rtf\ShellNew, not HKEY_CLASSES_ROOT\.rtf\Word.RTF.8\ShellNew, even though I have office installed. prolly cos I set the association differently to in this guide.


My System SpecsSystem Spec
.

06 Jul 2011   #2
ribeiro

Windows 7 Home Basic 64bit
 
 

The problem here is that I can not see any option for a NEW -> Rich Document or anything else that allow me to right click and start to type/write in it in the folder I need it...

More then 8 hours trying so far.
More then 5 softwares that promise to add thing in context menu - but no one can put this option in NEW cascade...
Please, HELP!
My System SpecsSystem Spec
06 Jul 2011   #3
ribeiro

Windows 7 Home Basic 64bit
 
 

All RIGHT!

I just got it working....
...almost jumping here...
THANK YOU for that reg file.
After OpenOffice installation I'd lost that NEW feature for RTF files...
...I just got it back like it suposed to...
THANK YOU
My System SpecsSystem Spec
06 Dec 2011   #4
KhAk

Windows 7 Ultimate x86
 
 

Perfect! Tutorial.
Ty so much!
My System SpecsSystem Spec
26 Nov 2013   #5
Bellzemos

Windows 7 Ultimate x64 SP1
 
 

Hi! I would like to make it so that when I double click a TXT file on my desktop it would open in the WordPad but with Courier New font type. Would following this tutorial enable this, I'm not sure? Thanx!
My System SpecsSystem Spec
26 Nov 2013   #6
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

1. You have to associate the TXT extension to Wordpad - here: Control Panel\Programs\Default Programs\Set Associations

2. Set the font in Wordpad. See pic.


Attached Thumbnails
WordPad Custom Template Workaround-2013-11-26_2153.png  
My System SpecsSystem Spec
26 Nov 2013   #7
Bellzemos

Windows 7 Ultimate x64 SP1
 
 

Will it be always this way then (whenever I double-click and open a TXT file, will it open in Courier New font in WorPad)? Or will I have to change it every time? Again, thanx!
My System SpecsSystem Spec
26 Nov 2013   #8
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

When you reopen it, it will be Courier.
My System SpecsSystem Spec
27 Nov 2013   #9
Bellzemos

Windows 7 Ultimate x64 SP1
 
 

But will it be Courier for that particular TXT file or for all TXT files in general? I would like later to happen. Thank you.
My System SpecsSystem Spec
Comment

 WordPad Custom Template Workaround




Tutorial Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:17 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33