Home Download Buy Blog Forum Support

Is there a syntax highlight plugin for autohotkey files?

Is there a syntax highlight plugin for autohotkey files?

Postby beigetwin on Mon Dec 05, 2011 7:12 pm

Autohotkey files are .ahk
I saw a screenshot with .ahk file syntax highlight here: http://www.autohotkey.com/forum/topic50364.html

But in the Preferences->Package Control->Discover Packages there is nothing like Autohotkey. How to get syntax highlighting for .ahk files?
beigetwin
 
Posts: 5
Joined: Mon Dec 05, 2011 7:08 pm

Re: Is there a syntax highlight plugin for autohotkey files?

Postby guillermooo on Mon Dec 05, 2011 8:02 pm

AFAIK, AutoHotKey is implemented in AutoIt, so you could look for that instead. I believe there's an old syntax def for AutoIt in the old repository for ST1 (google code).
guillermooo
 
Posts: 718
Joined: Thu Jul 23, 2009 9:06 am

Re: Is there a syntax highlight plugin for autohotkey files?

Postby Squirrel on Wed Dec 07, 2011 3:31 am

I have my own version of AHK highlighting, just download the file and unzip in sublimes Packages folder.
http://www.autohotkey.net/~zzzooo11/Dow ... Hotkey.zip
Squirrel
 
Posts: 2
Joined: Sat Oct 01, 2011 4:11 am

Re: Is there a syntax highlight plugin for autohotkey files?

Postby jbrooksuk on Wed Dec 07, 2011 4:00 pm

guillermooo wrote:AFAIK, AutoHotKey is implemented in AutoIt, so you could look for that instead. I believe there's an old syntax def for AutoIt in the old repository for ST1 (google code).

AutoHotKey is not AutoIt.

AHK is a derivation from the original AutoIt3 source code and the language in AU3 has matured into a slightly more advanced BASIC.
jbrooksuk
 
Posts: 689
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Is there a syntax highlight plugin for autohotkey files?

Postby guillermooo on Wed Dec 07, 2011 6:16 pm

I knew they were related somehow, but it's a long time I haven't used either! :)
guillermooo
 
Posts: 718
Joined: Thu Jul 23, 2009 9:06 am

Re: Is there a syntax highlight plugin for autohotkey files?

Postby BamBam on Fri Nov 16, 2012 9:11 pm

anyone have a working Syntax highlighter for AHK? the post in this thread leads to a broken link.
BamBam
 
Posts: 3
Joined: Wed Oct 31, 2012 8:52 pm

Re: Is there a syntax highlight plugin for autohotkey files?

Postby jordantbro on Mon Nov 19, 2012 4:51 am

Here's one I've been using. I came across it on the AHK forums.

https://dl.dropbox.com/u/44833/AutoHotKey.zip

Cheers,

Jordan
jordantbro
 
Posts: 2
Joined: Sat Nov 17, 2012 7:36 pm

Re: Is there a syntax highlight plugin for autohotkey files?

Postby BamBam on Wed Nov 28, 2012 5:00 pm

ill try it out! thanks!
BamBam
 
Posts: 3
Joined: Wed Oct 31, 2012 8:52 pm

Re: Is there a syntax highlight plugin for autohotkey files?

Postby BamBam on Wed Nov 28, 2012 5:15 pm

Hrmm not sure where to put these files all the other language inside Pristine Packages folder are of type .sublime-package ?


jordantbro wrote:Here's one I've been using. I came across it on the AHK forums.

https://dl.dropbox.com/u/44833/AutoHotKey.zip

Cheers,

Jordan
BamBam
 
Posts: 3
Joined: Wed Oct 31, 2012 8:52 pm

Re: Is there a syntax highlight plugin for autohotkey files?

Postby S0und on Wed Nov 28, 2012 5:55 pm

This zip has the syntax highlight AND autocompletion for AHK Basic

Extract it to

Portable version:
..\Sublime Text 2\Data\Packages\Autohotkey\

Installed (on win7):
C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages\Autohotkey

ST topic on ahk.com
http://www.autohotkey.com/board/topic/46447-sublime-text-editor-very-nice/
Attachments
Autohotkey.zip
(19.3 KiB) Downloaded 743 times
S0und
 
Posts: 70
Joined: Wed Oct 28, 2009 4:12 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 15 guests

cron