PC Review


Reply
Thread Tools Rate Thread

Creating template-based Word documents from Windows Explorer contextmenu, item "New"

 
 
Prestidigitator
Guest
Posts: n/a
 
      24th Mar 2011
The feature to create a new blank Word document in the current folder
is very handy.
However, this blank document is always based on the Normal.dot
standard template.

When a customer rings and I want to make notes, I would like to
rapidly create a Word document in the customer's folder, that is based
on the "Telephone notes" template.

On other occasions, other templates would come handy. The Windows
Explorer context New menu should therefore look like this:

New ->
Word Document
Word Telephone Notes
Word Report
(Word ...)

For this purpose, I tried to add the extension '.doc_notes' to the New
menu, by creating the correspondent registry entry in
HKEY_CLASSES_ROOT, and a .doc_notes file in C:\Windows\ShellNew. I had
previously associated the 'doc_notes' with MS Word in Explorer.
I also tried using TweakUI for this - all to no avail

Anybody knows how to achieve my goal? TIA

I'm running XP x64 SP2
 
Reply With Quote
 
 
 
 
Twayne
Guest
Posts: n/a
 
      25th Mar 2011
In news:8e9a6aa2-bd1e-48f9-be5e-(E-Mail Removed),
Prestidigitator <(E-Mail Removed)> typed:
> The feature to create a new blank Word document in the
> current folder is very handy.
> However, this blank document is always based on the
> Normal.dot standard template.
>
> When a customer rings and I want to make notes, I would
> like to rapidly create a Word document in the customer's
> folder, that is based on the "Telephone notes" template.
>
> On other occasions, other templates would come handy. The
> Windows Explorer context New menu should therefore look
> like this:
>
> New ->
> Word Document
> Word Telephone Notes
> Word Report
> (Word ...)
>
> For this purpose, I tried to add the extension
> '.doc_notes' to the New menu, by creating the
> correspondent registry entry in HKEY_CLASSES_ROOT, and a
> .doc_notes file in C:\Windows\ShellNew. I had previously
> associated the 'doc_notes' with MS Word in Explorer.
> I also tried using TweakUI for this - all to no avail
>
> Anybody knows how to achieve my goal? TIA
>
> I'm running XP x64 SP2


Outlook's Journal is pretty good for that, or if you want more formal
layout, used the v-card or Outlook's Contact List.
Various free programs can be found around the 'net too but I've none to
recommend. Me, I use XP's Address Book. It has places for all the various
fields you might want. Or, just plain old Notepad or Wordpad, or NoteTAB Pro
or Notepad++, etc.

HTH,

Twayne`


 
Reply With Quote
 
Tim Meddick
Guest
Posts: n/a
 
      26th Mar 2011

For a start-off - Windows (XP) no-longer uses the [C:\WINDOWS\ShellNew]
folder for templates, but uses, instead, the default "Templates" directory
defined in the following registry value :

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders]
"Templates"=""

This directory is normally assigned to :
"C:\Documents and Settings\%USERNAME%\Templates"


But that may not help you all the way, as even if you neglected to place a
templated file for your particular registry "ShellNew" entry, the file-type
*should* still appear anyway when you choose : "New" > "Filetype" from
the desktop right-click menu. Whether a template is present for it or not.

So the problem may be one of registry configuration.

Normally, you create a new entry in the "New" > "File" right-click menu, by
adding a "ShellNew" sub-key to the registry key of the same name as the
file extension, thus ;


[HKEY_CLASSES_ROOT\.ext\ShellNew]


...(where you would replace .ext with your chosen file extension).

Then, under this new "ShellNew" key, add a new string value named, either,
"NullFile" which you would leave blank (no assigned value) and also does
not then require any associated templated file, but simply will create a
new file of size 0 [zero] bytes called ;

"New [file description].[file extension]"


Or; you can create a new string value named "Filename" to which you would
assign the name of the templated file that must exist in your "Templates"
directory (see top above). So that if the filename of the template in the
"Templates" folder is "telephone.doc_notes" then that also has to be
entered as the assigned value for "Filename" thus ;

REGEDIT4
[HKEY_CLASSES_ROOT\.ext\ShellNew]
"FileName"="telephone.doc_notes"

This would usually result in a new entry under "New" > "File" on the
desktop right-click menu, and would use the file in the Templates folder of
the same name as the "FileName" string value.



If you have difficulty in visualising the registry entries, take a look at
one already in existence for comparison, say, ;

HKCR\.bmp\ShellNew

....for an example of "NullFile", or ;

HKCR\.wav\ShellNew

....for an example of the "FileName" value, where the set value:
"sndrec.wav" corresponds to a file that exists in the Templates directory.

==

Cheers, Tim Meddick, Peckham, London. :-)




"Prestidigitator" <(E-Mail Removed)> wrote in message
news:8e9a6aa2-bd1e-48f9-be5e-(E-Mail Removed)...
> The feature to create a new blank Word document in the current folder
> is very handy.
> However, this blank document is always based on the Normal.dot
> standard template.
>
> When a customer rings and I want to make notes, I would like to
> rapidly create a Word document in the customer's folder, that is based
> on the "Telephone notes" template.
>
> On other occasions, other templates would come handy. The Windows
> Explorer context New menu should therefore look like this:
>
> New ->
> Word Document
> Word Telephone Notes
> Word Report
> (Word ...)
>
> For this purpose, I tried to add the extension '.doc_notes' to the New
> menu, by creating the correspondent registry entry in
> HKEY_CLASSES_ROOT, and a .doc_notes file in C:\Windows\ShellNew. I had
> previously associated the 'doc_notes' with MS Word in Explorer.
> I also tried using TweakUI for this - all to no avail
>
> Anybody knows how to achieve my goal? TIA
>
> I'm running XP x64 SP2


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I create a Word-based XML "template"? IDRincon Microsoft Word Document Management 0 8th Aug 2008 06:17 PM
Windows Explorer: How to force ALL folders to use "All Items" template rather than "Pictures & Videos" Tom Windows Vista General Discussion 10 1st May 2007 04:44 AM
Creating a "picture" field entry box for users of a Word Template? =?Utf-8?B?YXBhZ2Fubw==?= Microsoft Word Document Management 7 14th Jun 2006 05:11 PM
Expanding "C" instead of "My Documents" in Windows Explorer =?Utf-8?B?c3dsYmM=?= Windows XP Customization 3 20th Mar 2005 09:13 PM
existing word documents wont open because "document template" property points to a server that doesn't exist anymore Jeremy P Microsoft Word New Users 5 20th Feb 2004 07:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:44 PM.