

* If text is selected - ahkrunpiped will pipe and run the selected text only. The ahkrunpiped command will allow you to run your code as a piped text string to AutoHotkey (this allows you to run snippets of code without having to save them to a file): You should make a copy of AutoHotkey Settings - Default at AutoHotkey Settings - User and modify there since then any settings defined in your User folder will take precedence and the package can still update itself without overwriting your custom settings. You can access these settings file from the Menu Preferences > Package Settings > AutoHotkey. * Ctrl+Shift+B will compile the current file (with Ahk2Exe.exe) Advanced Configurationįor the build system and ahkrun, ahkrunpiped, and ahkcompile commands, if you have a non-default installation then you will need to set your specific path to AutoHotkey.exe and Ahk2Exe.exe in a file named AutoHotkey.sublime-settings in your User folder. * Ctrl+B will run the current file (with AutoHotkey.exe) If you have the default Sublime keybindings intact, then: Automatic method: Install AutoHotKey with Package Control.Extract the files to Sublime_Data_Dir\Packages\AutoHotkey Manual method: Download ZIP from github.

SublimeAutoHotkey - Syntax Package for Sublime Text 2/3ĪutoHotkey AHK language package for SublimeText including syntax highlighting, comments toggling, auto-completions, build system definitions, commands for ahkrun, ahkcompile, ahkrunpiped.
