How to use SciTE messages
SciTE is a great IDE that I use with AutoHotKey, SPSS, SQL, Python, XML, HTML, etc. I love being able to use regular expressions in it to manipulate text and it has some very cool capabilities. This video is one of my favorite demonstrations how powerful SciTE can be at manipulating text.
Here is a short tutorial and demonstration on how to manipulate SciTE editor via COM objects and Windows commands with AutoHotKey.
Tutorial How to use SciTE messages with AutoHotkey
How to customize SciTE
See the list of SciTE commands here
Take a deep-dive into Scintilla documentation
Look at the Director Interface options
To send messages in AutoHotkey review MSDN
FYI- 0x111 is the WM_COMMAND
SciTE Messages for use in AutoHotkey with a COM object
You can use spy to find wm_command
A specific version of the SciTE editor for AutoHotKey can be downloaded here and more generic documentation can be found here.