1. Euphoria.chm question
- Posted by Kenneth Rhodes <wolf_man_jacques at excite.com>
Feb 07, 2005
-
Last edited Feb 08, 2005
I'm not sure about the correct terminology here... but, is
it possible to pass a book mark or link 'tag' to Euphoria.chm?
I am able to implement html context sensitive help very easily
in my version of ed.ex like this:
if EU_HTML_CONTEXT_HELP then
if find(word[1],{'a','b'}) then
document = "lib_a_b.htm"
elsif find(word[1],{'c','d'}) then
document = "lib_c_d.htm"
elsif find(word[1],{'e','f','g'}) then
document = "lib_e_g.htm"
elsif find(word[1],{'h','i','j','k','l','m','n','o'}) then
document = "lib_h_o.htm"
elsif find(word[1],{'p','q', 'r'}) then
document = "lib_p_r.htm"
elsif find(word[1],{'s','t'}) then
document = "lib_s_t.htm"
elsif find(word[1],{'u','v','w','x','y','z'}) then
document = "lib_u_z.htm"
end if
run_file( HTML_HELP_DIR & document & '#' & word, 0)
end if
Ken Rhodes
100% Microsoft Free!
2. Re: Euphoria.chm question
Sorry, all butter-fingers here...
Kenneth Rhodes wrote:
>
> I'm not sure about the correct terminology here... but, is
> it possible to pass a book mark or link 'tag' to Euphoria.chm?
> I am able to implement word specific html context sensitive
> help very easily in my version of ed.ex like this:
if EU_HTML_CONTEXT_HELP then
if find(word[1],{'a','b'}) then
document = "lib_a_b.htm"
elsif find(word[1],{'c','d'}) then
document = "lib_c_d.htm"
elsif find(word[1],{'e','f','g'}) then
document = "lib_e_g.htm"
elsif find(word[1],{'h','i','j','k','l','m','n','o'}) then
document = "lib_h_o.htm"
elsif find(word[1],{'p','q', 'r'}) then
document = "lib_p_r.htm"
elsif find(word[1],{'s','t'}) then
document = "lib_s_t.htm"
elsif find(word[1],{'u','v','w','x','y','z'}) then
document = "lib_u_z.htm"
end if
run_file( HTML_HELP_DIR & document & '#' & word, 0)
end if
Can Euphoria.chm be opened to a specific article in a similar
manner? I suppose if someone can show me how its done in Windows
I can probably figure out how to do it under Linux, if possible.
Thanks,
Ken Rhodes
100% Microsoft Free!
3. Re: Euphoria.chm question
Kenneth Rhodes wrote:
>
> Can Euphoria.chm be opened to a specific article in a similar
> manner? I suppose if someone can show me how its done in Windows
> I can probably figure out how to do it under Linux, if possible.
>
You mean context sensitive help. The answer is yes. Here is the link
to the MSDN documentation on using the MS Help API:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconApiref.asp
You'd have to read the docs on whatever linux app you're using to view the
chm file, but it's pretty likely that they'd support this somehow. Tbrowse,
which is part of EuCOM uses context sensitive help for browsing typelibs
(if it's available, of course). Take a look at the procedure
memberhelp_click() in TBrowse.exw in EuCOM for an example of how to use
it--pretty simple, actually.
Matt Lewis
4. Re: Euphoria.chm question
Wonderful! Thanks for the link.. :)
Matt Lewis wrote:
>
> Kenneth Rhodes wrote:
> >
> > Can Euphoria.chm be opened to a specific article in a similar
> > manner? I suppose if someone can show me how its done in Windows
> > I can probably figure out how to do it under Linux, if possible.
> >
>
> You mean context sensitive help. The answer is yes. Here is the link
> to the MSDN documentation on using the MS Help API:
>
> <a
> href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconApiref.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconApiref.asp</a>
>
> You'd have to read the docs on whatever linux app you're using to view the
> chm file, but it's pretty likely that they'd support this somehow. Tbrowse,
> which is part of EuCOM uses context sensitive help for browsing typelibs
> (if it's available, of course). Take a look at the procedure
> memberhelp_click() in TBrowse.exw in EuCOM for an example of how to use
> it--pretty simple, actually.
>
> Matt Lewis
>
Ken Rhodes
100% Microsoft Free!