About SciTE4AutoIt3
People on the Forum started looking at many editors to see which one was the most useful editor for AutoIt3. We found SciTE and saw its potential so I wrote a customized Lexer for the Syntax Highlighting and Syntax folding and created a special installer called SciTE4AutoIt3.
The "Package" grew to what it is today with lots of integrated utilities written by AutoIt3 community.
Read on for all the details... enjoy .
Quote Neil Hodgson:"SciTE is a SCIntilla based Text Editor. Originally built to demonstrate Scintilla, it has grown to be a generally useful editor with facilities for building and running programs."
SciTE4AutoIt3 contains SciTE, wrapped into a single installer with all needed configuration settings and lots of utility programs like Tidy,
Obfuscator,
AU3Check, ScriptWriter, AutoIt3Wrapper etc to enhanced SciTE for use with AutoIt3.
Enjoy :)
Some screenshots showing the Syntax highlighting and folding:

CodeFolding:
Autocomplete:
Intellisense:

This customized version of SciTE has the following functionality:
- Customized Syntax highlighting.
- AutoComplete AutoIt3 commands automatically (suggest the option in a dropdownbox while typing), just hit ENTER or TAB to Autocomplete.)
- AutoComplete anything already in the script, like variable and Func names, with Ctrl+Enter.
- Intellisense (Show a ToolTip with the parameter expected in the selected function).
- Code folding for easy code viewing.
- Auto indentation while typing.
- F1 - open Helpfile on the keyword were the cursor is located.
- Alt+F1 - open the Beta Helpfile on the keyword were the cursor is located.
- Shift+F1 will bring up a Popup screen showing all AutoIt3 functions. Just Double-Click or Enter on the function you need and it will be pasted back into your script. It Also has a dynamic Help facility!
- Ctrl+F1 - open this Helpfile.
- Ctrl+1 - open SciTEConfig.exe program to change the Font/Color setting used by SciTE.
- F5 - Run Tylo's Au3Check and when no errors/warnings found run AutoIt3.exe.
- Alt+F5 - Run BETA versions of Tylo's Au3Check and when no errors/warnings found run AutoIt3.exe.
- Ctrl+F5 - Run Tylo's SyntaxCheck with the latest Production definitions, showing all Syntax errors and possible issues with variable declarations. (See details)
- Ctrl+Alt+F5 - Run Tylo's SyntaxCheck with the latest Beta definitions, showing all Syntax errors and possible issues with variable declarations. (See details)
- Alt+F6 - Run Larry's
AU3Recorder to record clicks and keystrokes and write this into your AutoIt Script.
- Ctrl+F6 - Run Larry's AU3_Spy program to detect the Text and Names of controls on the program windows.
- F7 - Build: Run Tylo's Au3Check and when no errors/warnings found run AU3EXE.
- Alt+F7 - Build: Run BETA version of Tylo's Au3Check and when no errors/warnings found run AU3EXE.
- Ctrl+F7 - AutoIt3Wrapper: Build (compile) your script with Options to change Compiler version, ICON, Passphrase or compression, Update Resource info of the target program like Program version etc.
Optional run Tylo's AU3Check before compiling the source and running other programs Before or After compilation..
- Ctrl+T will run Tidy.exe (included in this install) to auto indent and Tidy your AutoIt3 source file.
- Alt+W will run CodeWizard.exe which assists you in creating MsgBox, InputBox() and more.
- Alt+M will run Koda formdesigner wrtten by Lookfar and Lazycat, another tool to create a GUI.
- Alt+A - Run VoSs2o0o's AutoItMacroGenerator ...Another recorder for script.
- Ctrl+Alt+s will Run the Snippet holder .
- Several LUA scripts to enhance SciTE editing.
- Insert a copy of the Bookmarked line(s) - Ctrl+Alt+B
This functions will insert all Bookmarked lines at the beginning for the current line.
Lines can be Bookmarked by pressing Ctrl+F2.
- Jump to the "Func ???" definition of the functionname under the Cursor - Ctrl+J
It will also Bookmark the original line to enable you to jump back to the original line with F2.
- List dropdownbox Ctrl+L with all available Func's in the current script and jumps to selected script. It will also Bookmark the original line to enable you to jump back to the original line with F2.
- Alt+I - Open #include "" file.
- Ctrl+Shift+D - Add Debug msgbox
This function will add a MSGBOX below the current line that contains the Var the cursor is at
$a = $b + 1 (Put the cursor on $b and press Ctrl+Shift+D the following line will be added)
MsgBox(4096,'debug:' & $b,$b) ;### Debug MSGBOX
- Alt+D - Add Debug ConsoleWrite message
This function will add a ConsoleWrite line below the current line that contains the Var the cursor is at
$a = $b + 1 (Put the cursor on $b and press Alt+D the following line will be added)
ConsoleWrite('Line:~4 debug ==> $b: ' & $b & @lf) ;### Debug Console
- Alt+Shift+D - Comment ALL DEBUG MsgBox and ConsoleWrite lines.
- Ctrl+Alt+D - UnComment ALL Debug MsgBoxes and ConsoleWrite lines.
- Add TRACE ConsoleWrites to all lines to easily trace your program:Available under Tools/Debug: Add Trace lines
- Remove ALL Debug MsgBoxes and ConsoleWrite lines: Available under Tools/Debug: Remove ALL lines
Changing any settings for SciTE
When making changes to SciTE settings, it is best to do this in the "User Option File" because the installation of a new version will override the settings of the SciteGlobal.properties and Au3.properties files. Items you might want to change are Color settings and Font type and/or size. See here for details or goto the SciTE Documentation for all possible settings.
There is now a SciTEConfig.exe (Ctrl+1) program included that will make it easy for you to update the Fonts and Colors used for AutoIt3.
All these Configuration files can be found under the Menu option Options.
General information
This helpfile contains a compilation of information for using SciTE to edit AutoIt3 scripts.
SciTE4AutoIt3 homepage : http://www.AutoItscript.com/autoit3/scite
For details on the SciTE editor : http://www.scintilla.org/SciTE.html
For details on AutoIt3 : http://www.AutoItscript.com/autoit3
Many thanks to:
- Jonathan Bennett for AutoIt.
- Neil Hodgson for SciTE/Scintilla.
- Jason (Valik) Boggs, for supplying LUA functions and lots of ideas and feedback.
- Larry Keys for AU3Recorder and AU3_SPY.
- Tylo for his AutoIt3 Syntax Checker.
- Michael (MHz) Heath for the Abbrev.properties and testing/input.
- Giuseppe (gcriaco) Criaco and Gary (gafrost) Frost for CodeWizard.
- VoSs2o0o for AutoItMacroGenerator.
- CyberSlug for GuiBuilder.
- Lookfar and LazyCat for the Koda formdesigner.
- Gary (gafrost) Frost for the Snippet Holder.
- piccaso for MakeCUI.
- All other forum members supplying their ideas/contribution/input.
Jos van der Zande (jdeb at AutoItscript dot com)
