EzBlue, here is the build file for Sublime Text 2 beta:
Code:
{
"cmd": ["C:/Program Files/AutoHotkey/AutoHotkey.exe", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.ahk"
}
To open a formatted example to start with, go to Tools>Build System>New Build System
This is tested to support autodetection based on the .ahk file extension.
If AHK is installed in a non-standard location change the path in the file.
See
http://www.sublimetext.com/docs/build for more info on these build files.
Mine is installed as stand alone, in that case these build files go in "%SUBLIME TEXT FOLDER%\Data\Packages\AutoHotKey\"
The syntax highlight on the first page of this post still works
For debugging use the normal debug dialog by doubleclicking the icon in the systray.