Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17578
    jesus2099
    Participant

    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) .

    #17589
    jesus2099
    Participant

    for what it’s worth, here’s the AHK forum c/w topic.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.