Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

EmEditor + AHK


  • Please log in to reply
No replies to this topic
jesus2099
  • Members
  • 12 posts
  • Last active: Dec 12 2013 08:25 AM
  • Joined: 26 Nov 2009
Here i start a topic for us, EmEditor users.

Of course you all know there is an AHK syntax file for EmEditor : AHK.ESY.
Please propose here your scripts or macros that help further easy of AHK coding in our good old EmEditor.
 
Here are two very simple EmEditor macros (.jsee) that I recently posted to its forum.
You can create those macros in EmEditor and associate suggested short cut keys (or any other) for the AHK profile only.

—  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  — 
 
CONTEXTUAL HELP (F1)

Requires keyhh.exe (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).