Hello Jan. I also don't see any way to automatically highlight variables in AHK.
:-( 

So I suggested Halweg to help him with a workaround to manually add variables to
the highlighter (keywords3 section). With a VBScript you could simplify it. You
only need to press a keyboard shortcut to add the highlighted word in keywords3
section and call "reloadUserHighlighter".

This could help halweg (and you would have no work with it). :-P

-- 
<https://forum.pspad.com/read.php?2,74256,74285>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem