The Help Context Tool helps to manage the help context numbers in your project and it can also be used to generate topic files automatically from map files supplied by your programmers.
You can assign, delete, import and export help context numbers in batch mode for your entire project. In addition to this you can also use the tool to automatically generate missing help topics from a map file containing a list of topic IDs and context numbers.
Supported context number range:
Help & Manual stores context numbers as an unsigned 4-byte integer, which means you can enter values between 0 and 4294967295. This is nearly 4.3 billion, so it should provide you with just about enough numbers for most normal applications.
Note that you cannot import help context numbers to anchors, even though you can export help context map files with anchor information. Note also that you can only import one help context number per topic with the context tool. Multiple numbers must be added manually. |
This function only assigns context numbers to topics that do not yet have them, existing context numbers are protected. If you want to renumber all the topics in your project first use the Delete function (see below) to clear all the numbers in your entire project.
Changing the increment: This function uses the increment set in your project configuration for assigning context numbers to new topics. You can change the setting in the Project Explorer in Configuration > Common Properties > Miscellaneous. |
You can't add multiple context numbers with this method. To add multiple numbers to a topic you must use the tab behind the main editor. Adding new numbers and topics: The Add New Number function is for creating new topics with new numbers. Enter a new topic ID followed by a new number. The new topic ID and context number will be added to the list and a new topic file will be created when you click on OK. An error will be displayed if you enter the ID of an existing topic. |
Note that if selected topics have multiple context numbers all the numbers will be deleted, even though only the first number is shown for the topic in the list. |
Software development tools can generate "map" files with lists of context IDs and matching help context numbers. Programmers often provide these lists to inform the help authors of the topic IDs and context numbers needed for context-sensitive help calls. In addition to importing missing context numbers to existing topics this function can also auto-generate missing topics from a map file. Since context-sensitive help often consists of hundreds of very short topics this capability can save you many hours of boring and frustrating work. It creates the basic framework for your context help in seconds. Importing context numbers:
Replace: Merge: Auto-generating topics: When you import a map file any topic IDs in the file that don't exist in your project will be listed in red in the Context Tool editing box. When you click on OK the tool will ask you if you want to create topic files for these IDs. If you say yes the files will be created in the Topic Files section, without TOC entries. If you want to create TOC entries for the new topics you must do this manually. |
You can also use the Help Context Tool to export the topic IDs and help context numbers from your project to a map file that the application programmers can use for writing their context help calls (and also to obtain an example of the map file syntax).
|
You can use the following three variables in your map files:
|
See also:
IDs, Context Numbers and Keywords
Page url: http://www.helpandmanual.com/help/index.html?hm_advanced_tools_context.htm