One File Extension, Multiple New Templates

T

Tony LaPaso

Hi All,

I am trying to add a menu items to the "New" menu (the menu that
appears when you right-click). I have a twist though.

I need menu items based on several different templates, but where the
filename extension is the same for each templates.

Here's an example of what I'd like to see when I right-click and
select New:

New >
32x32 Gif Red Image
64x64 Gif Green Image
64x64 Gif Blue Image

Forget about that fact that I'm using Gif here. That's just an example.

All three of the menu items should generate a file that has .gif as its
extension yet the file produced comes from a different template file in
each case.

I know about the "ShellNew/FileName" registry entries but that's not
going to do the
trick here. Somehow, I need to be able to associate several different
templates with the same document extension (.gif in this example).

Is there a way to do this?
 
T

Thorsten Matzner

Tony LaPaso said:
Somehow, I need to be able to associate several different
templates with the same document extension (.gif in this example).

I do not think that this is possible. You could create different
(empty) template GIF files on your HDD f. e. and run them with your
application. I would write-protect the files to make sure tahtthey are
not overwritten by accident. If this program supports command-line
parameters, you can add different Start Menu entries to run the
program with the templates.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top