Syntax and help files

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Jan Paul

Syntax and help files

Post by Jan Paul »

Does anybody know if it is possible to assign a chm/hlp file to a specifik syntax?

Now I have installed the help files as a tool, but I have to select a word, then go to the menu/menubar and select the help file.
I want to do this by ie CTRL-F1/ALT-F1.

Is this possible?

Thanks,
Jan Paul
Martin Jucker

Re: Syntax and help files

Post by Martin Jucker »

Select 'Configure :: Preferences :: Keyboard...', there you can assign the keys to your tool
Jan Paul de Frankrijker

Re: Syntax and help files

Post by Jan Paul de Frankrijker »

Yes, thanks for the answer. I allreade have this.
But this way I have to press a different key combination for every syntax. I want ie the ALT-F1 key to get the help file fot the active document type.
Now I have a ALT-F1, ALT-F2 etc key.
Is there a way to go around this?

Jan Paul
Martin Jucker

Re: Syntax and help files

Post by Martin Jucker »

This could work with a 'helper-application' like 'Winbatch' (Windowware) - you could pass the actual file-type and the actual help-keyword to this application and the application should be able to send the keyword to Winhelp. Can't think of an other possibility at the moment
Martin Jucker

Re: Syntax and help files

Post by Martin Jucker »

I just thought about another possibility: If you know how to create a Win-Helpfile, you can create one helpfile which integrates all *.hlp and one that only integrates all *.chm-files (no experience with this one). For the *.hlp-file, you only need one 'index'-entry for each hlp-file you integrate. In Textpad-Tools, you could then call the new *.hlp-file with CTRL-1 and the .chm-file with CTRL-2.
Post Reply