The new version adds several options:
- a toolbar button for calling the help on the currently selected word
- the possibility of showing the help command on the context menu
- the possibility of searching for the currently selected word even when using the menu entries
Franco
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try to use .pdf help file, the plugin says "No Acrobat PDF viewer installed". This is true, because I use FoxitReader to view .pdf file and it is my system default program which opens .pdf files when I press Enter on such files. So I see no problem to open .pdf file in my preferred viewer. Why the plugin does not?
Do you use specific program name in your ShellExecute() call?
I believe, it should be just:
CHM, HLP, PDF do not use the ShellExecute command but library calls for the help and acrobat. The reason is that in that way I can search for a word and not just open the file.
What I could possibly do is that when there is "No Acrobat PDF viewer installed" I back that up with a shellexecute command. Would that do what you want?
Regards,
Franco
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, now I see why it works this way.
Well, it seems to be better to use ShellExecute() instead of error message when you can't execute required library call. It would not allow to search for current term, but at least would allow to open a whole help file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How would you search for a term opening a PDF with FoxitReader?
I don't know the program so if you explain how it could be done I could you an option for example to use Foxi instead of Acrobat.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
While Adobe Reader' s command line allows for the searched term to be passed this way, Foxit does not.
You can anyway have Adobe Reader installed (for use with LanguageHelp) and keep Foxit Reader as the default PDF viewer.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The new version adds several options:
- a toolbar button for calling the help on the currently selected word
- the possibility of showing the help command on the context menu
- the possibility of searching for the currently selected word even when using the menu entries
Franco
When I try to use .pdf help file, the plugin says "No Acrobat PDF viewer installed". This is true, because I use FoxitReader to view .pdf file and it is my system default program which opens .pdf files when I press Enter on such files. So I see no problem to open .pdf file in my preferred viewer. Why the plugin does not?
Do you use specific program name in your ShellExecute() call?
I believe, it should be just:
ShellExecute( NULL, _T("open"), help_file_to_open, NULL, NULL, SW_SHOWNORMAL );
CHM, HLP, PDF do not use the ShellExecute command but library calls for the help and acrobat. The reason is that in that way I can search for a word and not just open the file.
What I could possibly do is that when there is "No Acrobat PDF viewer installed" I back that up with a shellexecute command. Would that do what you want?
Regards,
Franco
OK, now I see why it works this way.
Well, it seems to be better to use ShellExecute() instead of error message when you can't execute required library call. It would not allow to search for current term, but at least would allow to open a whole help file.
How would you search for a term opening a PDF with FoxitReader?
I don't know the program so if you explain how it could be done I could you an option for example to use Foxi instead of Acrobat.
While Adobe Reader' s command line allows for the searched term to be passed this way, Foxit does not.
You can anyway have Adobe Reader installed (for use with LanguageHelp) and keep Foxit Reader as the default PDF viewer.
Please check the new version and comment under this thread:
https://sourceforge.net/forum/message.php?msg_id=7610967
Regards,
Franco
Unfortunately a last minute code cleanup caused a major bug disabling most features.
Please download the new 1v311 version that fixes the problem.
http://fstellari.googlepages.com/npp_plugins
Franco