When you right-click on the desktop and select the 'New', you’ll notice a series of file types (templates) to create a new file.
Here's something that lets you have your own file template to make things easier.
1.
We can create file templates using the MS Powertoy called "TweakUI". Most of you are familiar with this utility. Besides, it has been mentioned many times in Raymond's blog.
Download : http://www.microsoft.com/windowsxp/D...powertoys.mspx
There is another straight method to create file templates by editing registry but TweakUI makes it easier.
2.
Select "Templates" in the left pane. Now you can see the available templates. You can delete any already present template or create a new one. If you don't want to permanently delete a template, you can uncheck the box to "disable" that from appearing in "New".
3.
Select "Create" and give the path of the file (template). You can place the file anywhere but you might accidentally delete it. So it's recommended that you place your template file in any of these directories -
"C:\Documents and Settings\Administrator\Templates" - just for you
or "C:\Documents and Settings\All Users\Templates" - for all users
How and why to create file templates ?
Let's say you need to create a .html file or .C file and every time you create one, you'll have to type the same 'structure/backbone' of the code.
For example, in html file, you need to type the basic tags.
Personally, while using C, I prefer to type code in notepad rather than the DOS mode Turbo compiler. Generally, you need to include header files etc in all codes.Code:<html> <head> <title>Prashanth Pai</title> </head> <body> </body> </html>
You wouldn't have to spend your time typing the basic backbone of code if it is present in the newly created file. So we create file templates. You can create file templates for any application as long as there is valid file association of that file extension to the parent software.Code:#include<stdio.h> #include<conio.h> #include<string.h> #include<ctype.h> #include<math.h> main() { clrscr(); getch(); }
For example, if you work with Flash files (.fla), then you can Open Adobe Flash > Create a new file > Make necessary changes and then save the .fla file and then you can use it as flash file template. The same goes for other softwares like Audacity, SketchUp, AutoIt, Office docs atc.
Note :
There is no TweakUI for Vista. But you can try this. Download the TweakUI setup file for XP. Extract it using 7Zip or WinRAR. Run the extracted executable in Compatibility Mode (XP SP2). TwealUI may not be fully functional in Vista.


LinkBack URL
About LinkBacks








Reply With Quote
