This is the short version of my
HowTo configure jEdit for AutoHotkey (in German). You can find the scripts and the more detailed Howto in German
here for download . It might be necessary to change some paths in the scripts.
Maybe someone feels like adapting the install-script that comes with AHK?
Download jEdit
http://prdownloads.sourceforge.net/jedi ... nstall.exe
Starting jEdit from USB
jEdit store configuration data by default in the directory "Documents and Settings". If you want to store config files somewhere else (on a USB-stick), you can start jEdit using the following AHK-skript.
Code:
run, cmd /c javaw.exe -jar .\jEdit\jedit.jar -reuseview -settings=%A_ScriptDir%\jEdit_Settings\, ,hide
Installing AHK-Syntax-highlighting The AHK-syntax file ahk.xml that came with the distribution had a few bugs. I tried to repair them, hopefully without adding new ones. You can download it
here:
To install it, copy the file in the "Modes" directory. Then add the following line to the file "catalog" in the same dir:
Code:
<MODE NAME="ahk" FILE="ahk.xml" FILE_NAME_GLOB="*.{ahk}"/>
Installing AHK context sensitive help
The AHK-script SearchAHKHelp.ahk (adapted from Rajats Intellisense) searchs the AHK help for the clipboard content. To call this script from jEdit, copy the file RunAHKHelp.bsh to the directory \macros\Misc\ Then you will find the command RunAHKHelp in the Macros-Menu (Macros-Misc-RunAHKHelp)
Running AHK-Scripts from jEdit
Copy the script AHK_run.bsh into the directory \macros\Misc\ Then you will find the command Run AHK in the Macros-Menu (Macros-Misc-RunAHKHelp).