autohotkey – EmEditor (Text Editor) https://www.emeditor.com Best Text Editor, Code Editor, CSV Editor, Large File Viewer for Windows (Free versions available) Thu, 23 Oct 2014 17:59:40 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 AutoHotKey script editing tools (contextual help, reload) https://www.emeditor.com/forums/topic/autohotkey-contextual-help/ Wed, 04 Dec 2013 13:26:19 +0000 http://www.emeditor.com/forums/topic/autohotkey-contextual-help/ If you edit AHK scripts, you surely have already installed the AutoHotKey script syntax file.
Here are some additional tools. Each one is a macro that I suggest to associate with a keyboard shortcut key in your EmEdit AHK configuration properties (ALT+ENTER).

CONTEXTUAL HELP (F1)

When editing an .ahk (AutoHotKey script file — don’t forget to get btw), here is a macro that will open AutoHotkey.chm help file on the appropriate page.
The macro itself is very simple but it requires that you have KeyHH 1.1

if(document.selection.isEmpty)document.selection.selectWord();
(new ActiveXObject("WScript.Shell")).run("\"c:/program files/dos/keyhh.exe\" -ahkchm -#klink \""+document.selection.text+"\" c:/program files/autohotkey/autohotkey/autohotkey.chm");

Adapt with your path for keyhh.exe and autohotkey.chm.

RELOAD (CTRL+R)

(new ActiveXObject("WScript.Shell")).run("\"c:/program files/autohotkey/autohotkeyu64.exe\" /r");

Adapt with your path for autohotkeyu64.exe (yours could be autohotkey.exe for instance) .

]]>