EmEditor (text editor) Forum Index Questions and Answers about EmEditor Core
get help on function using standart chm files | Register To Post |
| Flat | Previous Topic | Next Topic |
| Poster | Thread |
|---|---|
| Stefan | Posted on: 7/21/2011 12:35 am |
Home away from home ![]() ![]() Joined: 7/14/2008 From: Germany, EU Posts: 263 |
Re: Open chm help files for specific language lookup keywords WOW Yutaka, thanks, works great.
I will test some more, but basically that's how i had imagine it. My experiences: First i got an error That's because i didn't have the "Visual C++ 2010 Redistributable Package" installed. I had only 2005 and 2008 installed. Now i got interim the MSVCR100.dll and put them in the same folder as the eehelptool.exe and it works fine. I have set up this tool as: Titel: short description, e.g. VBScript help file Command: path to eehelptool.exe, even relative to EmEditor folder, e.g. myDocus\eehelptool.exe Arguments: path to help file, even relative to EmEditor folder, e.g. myDocus\SCRIPT56.CHM $(WordText) Initial Dir: Icon Path: path to icon resource, e.g. %SystemRoot%\hh.exe for the default help file icon Note the " $(WordText)" after the CHM which will search the CHM for just that selected keyword. In fact, the keyword even have NOT to be selected, just the cursor right before the first char or after the last char is enough for "$(WordText)" to work. Great. Of course this "search for the keyword" feature will work only for CHM files which are compiled with an proper index. If not, or if you just want to open the CHM without jumping to the "selected" word, you don't need to include this " $(WordText)" part to your Arguments: definition. - - - I have found one improvement wish: the keyword is found and selected in the index tab, but i miss: * pressing enter (so to say) to open the page in the preview pane for ease use * having the focus in that preview pane to allow immediately scrolling Maybe that can be included too? - - - Question: will this tool be part of the core package or even be included in the EmEditor.exe? Maybe from interest for you: other editors allow to have one syntax related help file (like SCRIPT56.CHM for *.VBS) per syntax language configuration, and all are accessible via the same shortcut (like Alt+F1). Which CHM is opened depends on the currently active syntax configuration. If i am on an VBS doc, the vbs.CHM is launched. If i am on an HTML doc, my html.CHM is opened. So we didn't need to have 5 tools / toolbar icons / shortcuts just to open the syntax related help files. One would be enough. Just some ideas. Thanks for EmEditor. Great Tool. Well done. - Ah, thank CrashNBurn too. I have tried that before posting my question but found it not works well with relative paths and all over all that is not that easy for the average user (beginners) |
| Flat | Previous Topic | Next Topic |
| Subject | Poster | Date |
|---|---|---|
| |
kulibin | 3/1/2008 8:08 pm |
| |
kulibin | 3/2/2008 7:18 am |
| |
Stefan | 7/17/2011 12:37 pm |
| |
CrashNBurn | 7/17/2011 1:35 pm |
| |
Yutaka | 7/20/2011 5:07 pm |
| » |
Stefan | 7/21/2011 12:35 am |
| |
Yutaka | 7/21/2011 2:35 pm |
| |
Stefan | 4/3/2013 4:14 am |
| Register To Post | |


