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
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