A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Display Modes
  #1  
Old March 24th 11, 11:17 AM posted to microsoft.public.windowsxp.customize
Prestidigitator
external usenet poster
 
Posts: 1
Default Creating template-based Word documents from Windows Explorer contextmenu, item "New"

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
Ads
  #2  
Old March 26th 11, 12:16 AM posted to microsoft.public.windowsxp.customize
Twayne[_2_]
external usenet poster
 
Posts: 4,276
Default Creating template-based Word documents from Windows Explorer context menu, item "New"

In ,
Prestidigitator 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`


  #3  
Old March 26th 11, 05:16 PM posted to microsoft.public.windowsxp.customize
Tim Meddick[_3_]
external usenet poster
 
Posts: 1,020
Default Creating template-based Word documents from Windows Explorer context menu, item "New"


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\Curre ntVersion\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" wrote in message
...
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


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 01:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.