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

Auto​Hotkey

by ahkscript ALL

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

Details

Installs

  • Total 38K
  • Win 36K
  • Mac 1K
  • Linux 996
Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23
Windows 10 31 23 24 23 25 25 37 36 18 29 33 22 21 28 25 27 25 17 29 17 30 22 30 30 16 26 28 23 33 20 15 25 22 27 34 27 20 26 25 35 29 26 20 33 33
Mac 1 0 0 1 2 2 1 1 0 5 1 1 0 0 2 2 0 1 0 1 0 1 0 2 0 0 1 1 3 0 0 0 0 1 1 0 2 1 0 0 1 0 1 1 0 0
Linux 0 1 2 0 1 1 0 1 1 0 0 0 1 1 1 2 0 0 0 0 0 0 1 1 2 1 0 0 1 1 0 0 0 1 2 0 1 1 1 0 1 1 0 1 2 3

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

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