From AutoIt Wiki
Revision as of 07:42, 9 November 2012 by FlutterShy (talk | contribs)
Jump to navigation Jump to search

SciTE4AutoIt3 is a specialist editor package based around the excellent SciTE editor. The editor has been set up to compile AutoIt scripts. SciTE has been extended with a multitude of lua scripts. SciTE4AutoIt3 may be downloaded here: SciTE4AutoIt3

SciTE4AutoIt3 comes with an array of tools and advanced options including a configuration program named "SciTE Config" under the "tools" menu. With SciTE Config a user may change the color scheme of SciTE's syntax highlighting, change the default Au3 script file double-click action, create a script backup policy and determine what tools are shown in SciTE's tools menu. Also available are calltips, abbreviations, and quick access to the helpfiles.

SciTE Quick Tips

To access the helpfile the user may press [Alt] + [F1]. To quickly access help information on a specific function/statement, simply click/highlight the function/statement in question and press the [F1] key to bring up the help file on a relevant page.

For SciTE related help, use the key combination [Ctrl] + [F1] to bring up a help file detailing SciTE related help documentation. It's recommended you read it.

For anyone not familiar with SciTE, here are a few tips and tricks to help you easily modify the installation to suit your needs. For any "truly" advanced info, you should visit the [SciTE home page].

With the information below, you will be doing some minor editing to SciTEs configuration files. It is imperative that you know the hierarchy of SciTEs configuration files. The main files we will be dealing with here are listed below.

Remember there are four properties files used:


SciTE.propertiesLocal properties file which may be present in the same directory as the file being edited. This file overrides any other properties files settings below. This file is user created.
SciTEDirectory.propertiesDirectory properties file which may be present in the same or in a parent directory as the file being edited. This file overrides all properties setting of the files below, but not the local properties settings aka This file is user created.
SciTEUser.propertiesUser properties file, this files settings override only the Global properties settings aka This file is found under the current logged on users profile directory.
SciTEGlobal.propertiesAll settings in this file can be overridden by any of the above files. Typically you shouldn't mess with this file and use any of the above methods to implement a setting change. This file can be found in SciTE's installation directory.

If you're having any trouble finding any of the previously mentioned files, I recommend you NOT continue with this information...

Inline Errors

Intentional error prone code used to display the "Inline Error" feature.

In the latest version of SciTE, there exists a new feature called "Inline Errors", some users find them annoying. Inline Error marks are error messages that will appear in the source code within the Scintilla window. While helpful, some users prefer to disable this feature often for unknown reasons. You can quickly disable/enable them using the

Open the SciTE user properties file in a text editor and add the following code to the file.

To disable Inline Errors, add the following.

# Display settings for inline errors on the source

To enable Inline Errors, add the following.

# Display settings for inline errors on the source

Selection Highlighting

In the latest SciTEforAutoIt3, there is a new feature which highlights other instances of the highlighted word or string. Due to the colors, sometimes it's hard to tell the selection apart.

If you'd like, you can do either of two things using the

  1. Disable it
  2. Change the color scheme

To disable it


To re-enable it, just delete it and save.

To change the color scheme, add the following to your SciTEUser properties file.


Try adjusting the #COLOR values to get an effect you'd prefer.

More Language Highlighting Options

In the file, add the following code.

# Language Highlighting Options
#Apache Confi&g|conf||\
#&C / C++|cpp||\
#&nnCron crontab|tab||\
#Objective Caml|ml||\
#P&OV-Ray SDL|pov||\

For whatever language you wish to have an option appear under the Language menu option, uncomment the language.

Say you want to SciTE to give you the option to highlight batch script code, change the following string in the above list from




Restart SciTE and if done correctly, the option should be present! Do this for any language listed in the above example list.

In the case that you uncommented a language and you notice that it's not being highlighted correctly, then we will have to edit some things in the file.

Open the file in a text editor and find the section

# import properties\all the language specific properties files

Below that section there will be a few strings that look like

#import properties\[syntax]

Uncomment the syntax related property you wish to have support for.

Say you wanted support for ruby, just locate the one that says ruby where [syntax] is written.