Discussion › Forums › discussion › Using F1 to open a custom .chm help file
This topic contains 0 voices and has 7 replies.
| Author | Posts |
|---|---|
| Author | Posts |
| September 9, 2011 at 2:55 pm #5490 | |
|
HeelX Member
|
Hi, I want to let F1 open a .chm file, that is associated with the C/C++ scheme. In the OptionsTools dialog, I created with Add a new entry, assigned F1 as shortcut and entered the following command: C:Windowshh.exe I just want to let the Windows CHM viewer show the above listed .chm file. In the Windws command line, I successfully can open it either with just entering the path to the .chm as well as using explicitely the hh.exe. PN always says > “C:Windowshh.exe > Failed to create process: Das System kann die angegebene Datei nicht finden. > Process Exit Code: 0 > Time Taken: 00:00 What am I doing wrong? Thanks in advance, -Christian |
| September 9, 2011 at 4:33 pm #18105 | |
|
simon Key Master
|
Did you put the CHM name in the parameters line? The command line should contain only the exe path. |
| September 10, 2011 at 4:14 pm #18106 | |
|
Nux Member
|
@HeelX: You can use this script to open help AND go to a certain help page. So if your cursor is over some function name you can just press F1 and open help page for it. @simon: Could you change the limit in ScriptShare to over 5000 characters? I hit this quit often and just over few hundred, so 8000 would be quite fine (for me at least). |
| September 11, 2011 at 4:34 pm #18107 | |
|
HeelX Member
|
@simon: Thanks for your reply. I changed it to: Command: C:Windowshh.exe Parameters: The output says: “> “C:Windowshh.exe” but it still doesn’t open. I also tried to use both C:Windows and C:Windowshh.exe and the .chm gets correctly opened. @Nux: Thank you very much, this looks interesting. But before I use this, it would be quiet helpful if I can open the CHM just on pressing F1. If this works, I will turn to this for sure |
| September 11, 2011 at 6:15 pm #18108 | |
|
Nux Member
|
Yes, you can assign shorcuts to scripts (I have F1 for that). You do need Python, but installing it is very easy (just be sure to get Python 2.6). You can install with default options and so you just click Next, Next, Next and Finish This is all described here: |
| September 12, 2011 at 7:36 am #18109 | |
|
CoDEmanX Member
|
@HeelX: Make sure you uncheck “Capture output?” in the Console I/O tab! The following settings are working for me: |
| September 12, 2011 at 10:08 am #18110 | |
|
simon Key Master
|
@HeelX CoDEmanX is most likely right, if you have Capture output checked then hh.exe will be running in the background. Disable that, and it should launch as normal. |
| September 13, 2011 at 6:32 am #18111 | |
|
HeelX Member
|
Yeah, it works!! Thank you very much!! |
You must be logged in to reply to this topic.
DevEnginesA8.30.13dgs_manual.chm
Am I right that this is a Python script and I have to install Python for it? And how am I supposed to add this correctly to PN?