Quick Help functions

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
pwdiener
Posts: 134
Joined: Wed Jul 11, 2007 3:45 pm

Quick Help functions

Post by pwdiener »

Jussi,

I've recently been working on a project generating API style documentation for a set of COBOL programs. I've got this done, and can generate a CHM file that works as a quick help file for the set. So far so good.

My observation is that when I regenerate the CHM file, Zeus can no longer reference it reliably. Sometimes that seems to mean not at all, other times it means that it can find topics, but the help display shows no contents or index tab. Is this what I should expect?

Is there a utility or macro function that I might use to tell Zeus to refresh? I guess I could put one together using AutoHotKey or something, but an "official" procedure might be more reliable.

Bill
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

My observation is that when I regenerate the CHM file, Zeus can no longer reference it reliably.

Are you sure that the CHM file you created contains valid index information :?:
Is there a utility or macro function that I might use to tell Zeus to refresh?
No.
but the help display shows no contents or index tab.

All Zeus does is read the index information from the CHM file and it then uses this information as a basis for the Quick help search.

It does this at the time the file is first added to the Quick Help for the document type.

So for example if you use the Help, Contents menu to bring up the Zeus CHM file you will see an Index tab in the CHM viewer.

You can do a Quick Help that will work for any Zeus keyword (or partial word) displayed in this index.

So if you load up one of your CHM files in the Viewer and it does not contain an Index tab or that Index tab is empty then that is the problem you are seeing.

Cheers Jussi
pwdiener
Posts: 134
Joined: Wed Jul 11, 2007 3:45 pm

Post by pwdiener »

No, it works fine until I regenerate the CHM file, then it behaves erratically. I did not cycle Zeus when I regererated - maybe that would do the trick.

I think the key may be the "load at add time" functionality. If you load index data when the file is added, what happens if the file changes?

Bill
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

If you load index data when the file is added, what happens if the file changes?

The Zeus index data will be out of date meaning the help file will need to be re-imported.

Cheers Jussi
pwdiener
Posts: 134
Joined: Wed Jul 11, 2007 3:45 pm

Post by pwdiener »

That's what I thought. I was looking for a way to automate that process somehow, since this is a fairly dynamic set of functions, with changes weekly or so. If there isn't any other way, I'll see what I can accomplish with AutoHotKey. Thanks.

Bill
Post Reply