Creating the Hot Spots

If your application includes an online tutorial, you can use the ExecProgram macro to create hot spots within the Help file that link to tutorial lessons.

Note:

For detailed information about the ExecProgram macro, see Chapter 15, “Help Macro Reference.”

To create a macro hot spot that links to a tutorial lesson

1.1.Follow the steps to create a standard macro hot spot.

2.2.Type the tutorial information for this hot spot in the ExecProgram macro string.

Note The exclamation point (!) and macro string must be formatted as hidden text.

For example, the following macro would start the tutorial application TUTOR.EXE, which is located in the LESSONS subdirectory, and display a lesson on the application’s Toolbox in a maximized window:

!ExecProgram("c:\\lessons\\tutor.exe toolbox.cbt", 1)

Note If your tutorial application supports command-line options, you can also include them when starting the lesson. For example, a command-line option may allow you to start the lesson in a specific location. Refer to the documentation that accompanies your tutorial application for information about the command-line options that it supports.

Figure 8.x shows a correctly formatted macro hot spot to a tutorial lesson.