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 56K
  • Win 53K
  • Mac 2K
  • Linux 1K
Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21
Windows 3 7 10 14 12 14 20 12 14 9 9 14 10 6 3 14 6 7 14 6 9 11 11 12 11 10 11 22 9 15 14 11 11 9 8 12 8 8 10 15 11 10 7 6 12 15
Mac 0 0 0 0 0 2 0 0 0 0 1 1 0 0 0 0 0 2 1 0 1 0 0 2 2 1 0 0 2 0 0 0 0 0 0 1 0 0 3 0 0 0 0 1 2 1
Linux 0 1 0 0 0 1 1 0 0 0 0 0 0 0 3 0 0 0 1 0 0 0 0 2 0 0 0 0 0 1 0 0 0 1 1 2 0 1 0 1 0 0 0 0 0 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

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