Home > How To, Software, Tutorial, Tweak > Create File Templates in XP using TweakUI

Create File Templates in XP using TweakUI

April 16th, 2009 Leave a comment Go to comments

What are file templates ?
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.

Create File Templates in XP using TweakUI

Create File Templates in XP using TweakUI

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. Download TweakUI (147 KB)
  2. Install and run TweakUI. 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. Create File Templates in XP using TweakUI

    Create File Templates in XP using TweakUI

  4. 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 SettingsAdministratorTemplates" - just for you
    or "C:Documents and SettingsAll UsersTemplates" - 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.

<html>
<head>
<title>Prashanth Pai</title>
</head>
<body>

</body>
</html>


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.

#include
#include
#include
#include
#include

main()
{
clrscr();

getch();
}

You wouldn’t have to spend your time typing the basic backbone of code if it is present in the newly created file. That’s why 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.

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 etc.

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.

P.S: This tutorial was first posted by me at Raymond.cc forum.

  1. No comments yet.
  1. No trackbacks yet.