#9503
CrashNBurn
Member

You could do it with AHK, and possibly an EMEditor Macro/Script assigned to a hotkey.

Example command:

hh mk:@MSITStore:c:program filesAutoHotkeyAutohotkey.chm::/docs/commands/_AllowSameLineComments.htm

When viewing the helpfile in question, click on the ‘Go’ menu, and find the URL. If all the commands are within the same path, then it would just be a matter of generating the command to have the selected text.

It’s not exactly straight forward though, in my example, the actual command is “#AllowSameLineComments” – but it is stored in the path “_AllowSameLineComments”