ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Auto​Hotkey

by ahkscript ST2/ST3

AutoHotkey AHK language package for SublimeText including syntax highlighting, comments toggling, auto-completions, build system definitions, commands for ahkrun, ahkcompile, ahkrunpiped.

Details

Installs

  • Total 27K
  • Win 25K
  • OS X 805
  • Linux 639
Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11
Windows 16 27 13 19 20 16 22 22 17 11 19 18 13 18 18 23 15 16 23 26 25 16 21 9 13 24 18 19 24 17 12 12 14 15 20 22 25 23 20 15 27 24 18 23 20 14
OS X 0 0 0 1 2 2 2 2 0 1 0 2 2 2 1 2 1 0 0 0 0 1 3 0 1 1 1 0 1 2 0 0 1 1 1 5 0 0 1 2 0 2 2 0 0 0
Linux 1 4 2 2 0 1 1 0 3 3 1 1 3 1 1 1 1 0 0 2 3 2 2 1 1 0 1 1 0 1 0 0 0 1 0 0 0 0 1 0 1 1 2 1 1 0

Readme

Source
raw.​githubusercontent.​com

SublimeAutoHotkey - Syntax Package for Sublime Text 2/3

AutoHotkey AHK language package for SublimeText including syntax highlighting, comments toggling, auto-completions, build system definitions, commands for ahkrun, ahkcompile, ahkrunpiped.

Package Installation

  • Manual method: Download ZIP from github. Extract the files to Sublime_Data_Dir\Packages\AutoHotkey
  • Automatic method: Install AutoHotKey with Package Control.

Key Bindings

If you have the default Sublime keybindings intact, then: * Ctrl+B will run the current file (with AutoHotkey.exe) * Ctrl+Shift+B will compile the current file (with Ahk2Exe.exe)

Advanced Configuration

For 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. You can access these settings file from the Menu Preferences > Package Settings > AutoHotkey. 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.

ahkrunpiped

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): * If text is selected - ahkrunpiped will pipe and run the selected text only. * If no text is selected - ahkrunpiped will pipe and run the entire contents of the current document.

Goto-documentation Integration

Instructions on how to configure goto-documentation plugin for AutoHotkey (F1 Hotkey will take you to documentation for word under cursor) * http://www.autohotkey.com/board/topic/46447-sublime-text-editor-very-nice/page-3#entry540187

Credits