My Technical Notes

Tuesday, 26 February 2013

Installing AutoHotkey Syntax into Notepad++

The installer for AutoHotkey (I am using version 1.1.93) by default does not include the Notepad++ syntax files. To get syntax files, go to the following forum page:

and download the latest version of the "Portable" zip file (`AutoHotkey104805.zip` at time of writing). Copy the Extras folder therein, to the AutoHotkey install folder:


C:\Program Files\AutoHotkey\

Thereafter go into the folder:


C:\Program Files\AutoHotkey\Extras\Editors\Notepad++\

and run the script Run this to install syntax file for Notepad++.ahk. It should show a dialog saying that it has successfully installed the script.


It is worth mentioning that there are improved syntax highlighting files for Notepad++ out there, however this solution is good enough for me.

No comments: