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 35K
  • Win 33K
  • OS X 1K
  • Linux 911
Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5
Windows 0 19 24 24 17 13 22 27 31 32 18 22 27 24 22 27 20 19 28 30 27 34 23 6 22 21 22 19 30 22 30 23 33 22 28 16 20 19 14 23 22 27 20 24 20 20
OS X 0 1 0 0 1 0 0 0 2 0 1 0 0 0 2 1 1 1 1 1 0 2 0 1 0 0 0 2 1 1 2 0 1 0 2 1 0 0 0 0 1 1 0 1 0 0
Linux 0 2 1 0 0 0 0 1 1 0 0 0 1 1 0 1 1 0 1 3 0 0 1 0 1 1 1 0 0 2 2 0 1 1 0 1 1 0 0 2 1 2 0 1 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

  • 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