Skip to content

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

License

Amourspirit/SublimeMiniFrameworkAutoHotkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SublimeMiniFrameworkAutoHotkey - Syntax Package for Sublime Text 2/3

AutoHotkey Mini-Framework AHK language package for SublimeText including syntax highlighting, Mini-Framework Class highlighting, Mini-Framework Class auto-completions, 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-MF.sublime-settings in your User folder. You can access these settings file from the Menu Preferences > Package Settings > AutoHotkey-MF. You should make a copy of AutoHotkey-MF Settings - Default at AutoHotkey-MF 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.

Getting Help

Help is available online and as a separate help file for Mini-Framework and can also be accesed online here.

Help is available online and as a separate help file for AutoHotkey and can also be accesed online here.

A program named AutoHotKey Snippit is built in part upon Mini-Framework and can be download here. AutoHotkey Snippit come with a preinstalled template named AutoHotkey that contains plugins to quickly bring up the local help file for Mini-Framework or AutoHotkey. By selecting a word Sublime Text you can simply press a shortcut key to get local help on that word.

Shortcut keys can be set to what ever you want in AutoHotkey Snippit but the defaults for help are ctl+F1 to get help on a Mini-Framework class or method and ctl+F2 to get help on an AutoHotkey keyworkd.

Goto-documentation Integration for AutoHotkey Help

Instructions on how to configure goto-documentation plugin for AutoHotkey (F1 Hotkey will take you to documentation for word under cursor)

Credits

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages