GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ahkscript/SublimeAutoHotkey: AutoHotkey AHK language package for SublimeText including syntax highlighting, comments toggling, auto-completions, build system definitions, commands for ahkrun, ahkcompile, ahkrunpiped.

BranchesTags
Open more actions menu

Latest commit

 

History

67 Commits
67 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
AutoHotkey.sublime-build
AutoHotkey.sublime-build
 
 
AutoHotkey.sublime-completions
AutoHotkey.sublime-completions
 
 
AutoHotkey.sublime-settings
AutoHotkey.sublime-settings
 
 
AutoHotkey.tmLanguage
AutoHotkey.tmLanguage
 
 
Comments.tmPreferences
Comments.tmPreferences
 
 
Default.sublime-commands
Default.sublime-commands
 
 
Main.sublime-menu
Main.sublime-menu
 
 
MsgBox VariableNames.sublime-snippet
MsgBox VariableNames.sublime-snippet
 
 
Performance Header.sublime-snippet
Performance Header.sublime-snippet
 
 
README.md
README.md
 
 
Tray Icon From Scriptname If Exists.sublime-snippet
Tray Icon From Scriptname If Exists.sublime-snippet
 
 
Tray Icon from Iconfile If Exists.sublime-snippet
Tray Icon from Iconfile If Exists.sublime-snippet
 
 
UNLICENSE.txt
UNLICENSE.txt
 
 
ahkexec.py
ahkexec.py
 
 

Repository files navigation

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

  • S0und: http://www.autohotkey.com/board/topic/46447-sublime-text-editor-very-nice/page-2#entry529723
  • Misc: http://www.sublimetext.com/forum/viewtopic.php?f=2&t=4008
  • Misc: http://www.autohotkey.com/board/topic/44924-yatmb4ahk-yet-another-textmate-bundle-for-ahk/
  • ahkrunpiped, Coco: https://gist.github.com/cocobelgica/6296475
  • ahkrunpiped, greycode: https://gist.github.com/grey-code/4728413
  • ahkrunpiped, Lexikos: http://www.autohotkey.com/board/topic/23575-how-to-run-dynamic-script-through-a-pipe/

About

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

Resources

Readme
Unlicense
Activity
Custom properties

Stars

211 stars

Watchers

44 watching

Forks

44 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.