Today I work on using SciLexer.dll with AutoIt. I was using this very good @lokster example. I attach result of my work:  SciteIt.au3 by lokster.zip This is a refactorized version, adapted to be compatible with the Au3Check tool.   #AutoIt3Wrapper_Run_AU3Check=Y #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7 #Region - SciteIt.au3 - Header ; #INDEX# ==============================================================================