Jump to content

How can I edit "New AutoIt v3 Script" template?


lml
 Share

Recommended Posts

Basically, every time I write a script, I want the new file to look like this:

HotKeySet('{END}', 'Quit')
HotKeySet('{HOME}', 'Pause')
Global $Paused



Func Quit()
Exit
EndFunc

Func Pause()
$Paused = Not $Paused
While $Paused
     Sleep(100)
     ToolTip('Paused...', 0, 0)
WEnd
ToolTip("")
EndFunc

So, I'm wondering where I go to edit the template?:

#cs ----------------------------------------------------------------------------

AutoIt Version: 3.3.8.1
Author:      myName

Script Function:
Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
Link to comment
Share on other sites

The file that is used when you right-click in Explorer and New > Autoit v3 Script?

That would be C:\Windows\ShellNew\Template.au3

Link to comment
Share on other sites

  • 8 years later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...