Sublime Text can not run ahk script
Posted: 29 Jun 2016, 04:20
Hi,
Just heard ST3, so I gave it a try, wonderful, ahk package installed, but I can not run ahk from ST3.-------
I just tried "TOOL----Run", nothing happened, also tried "TOOL----AUTOHOTKEY-RUN". With ctrl+` I can see "TypeError: list indices must be integers, not str".
I guess I should specify my autohotkey.exe filepath as mentioned:"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."
But what syntax should I use, trying to "set your specific path to AutoHotkey.exe and Ahk2Exe.exe....." ?
Anyway, I searched here and found this thread:
https://autohotkey.com/boards/viewtopic ... =2009#p675
But "ahk.py" file seems lost in the server.
Any idea?
Just heard ST3, so I gave it a try, wonderful, ahk package installed, but I can not run ahk from ST3.-------
I just tried "TOOL----Run", nothing happened, also tried "TOOL----AUTOHOTKEY-RUN". With ctrl+` I can see "TypeError: list indices must be integers, not str".
I guess I should specify my autohotkey.exe filepath as mentioned:"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."
But what syntax should I use, trying to "set your specific path to AutoHotkey.exe and Ahk2Exe.exe....." ?
Anyway, I searched here and found this thread:
https://autohotkey.com/boards/viewtopic ... =2009#p675
But "ahk.py" file seems lost in the server.
Any idea?