Sign in to follow this  
Followers 0
laphlaw

Change Default Header On New Script

6 posts in this topic

How do you change the default header when you create a new autoit script? I.E.:

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:        A.N.Other <myemail@nowhere.com>
;
; Script Function:
;   Template AutoIt script.
;
; ----------------------------------------------------------------------------

; Script Start - Add your code below here

How do you change that to something else?

Share this post


Link to post
Share on other sites



The Template is located in "c:\windows\new\shellnew" . just copy it to your "C:\Documents and Settings\YOURID\Templates" and modify it... that should do it...


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

The Template is located in "c:\windows\new\shellnew" . just copy it to your "C:\Documents and Settings\YOURID\Templates" and modify it... that should do it...

Hmm... I don't have a C:\Windows (Win2KPro SP4), and there is no c:\winnt\new... :(

I tried the various "Options", "Open xxx options file" menu items and didn't see it there either. Where else would that be? :think:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Hmm... I don't have a C:\Windows (Win2KPro SP4), and there is no c:\winnt\new... :(

I tried the various "Options", "Open xxx options file" menu items and didn't see it there either. Where else would that be? :think:

its in Winnt\shellNew\template.au3

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

if not jsut search ur hard drive for *.au3 or template.au3


_____________________________________________________"some people live for the rules, I live for exceptions"Wallpaper Changer - Easily Change Your Windows Wallpaper

Share this post


Link to post
Share on other sites

its in Winnt\shellNew\template.au3

Got it. Put mine in %UserProfile%\Templates\Template.au3, works great.

Thanks. :think:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0