Results 1 to 3 of 3
  1. #1
    Experienced User
    Overall activity: 0%

    Join Date
    Feb 2008
    Location
    Socket LGA 771
    Posts
    1,785
    Liked
    3 times
    Points
    14,465

    Post How to create file templates in XP

    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.
    Code:
    <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.

    Code:
    #include<stdio.h>
    #include<conio.h>
    #include<string.h>
    #include<ctype.h>
    #include<math.h>
    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. 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.
    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.
    Happy To Help

  2. #2
    Experienced User
    Overall activity: 0%

    Join Date
    Sep 2007
    Location
    Newcastle, United Kingdom
    Posts
    2,627
    Liked
    0 times
    Points
    26,726
    Nice tut prash, welcome back BTW

  3. #3
    Administrator
    Overall activity: 46.0%

    Join Date
    Nov 2006
    Location
    Malaysia
    Posts
    9,803
    Liked
    1656 times
    Points
    48,740
    A very helpful tutorial. Glad to have you back Prash.

 

 

Similar Threads

  1. Replies: 12
    Last Post: 02-20-2012, 09:41 PM
  2. Replies: 1
    Last Post: 09-16-2011, 09:44 AM
  3. How to change templates in WP?
    By pottas in forum General Forum
    Replies: 6
    Last Post: 06-29-2008, 07:03 PM
  4. Templates Monster: help
    By blackrose in forum General Forum
    Replies: 3
    Last Post: 03-14-2007, 06:58 PM

Tags for this Thread

All times are GMT +8. The time now is 09:08 AM.