Apple Help URLs

Table B-1 lists the help-specific URLs supported by Help Viewer. Use these URLs in your help book to link to other help topics and additional help resources. Arguments to help–specific URLs can either be enclosed in single quotes or can use standard URL encoding; for example the book name “SurfWriter Help” would be specified as SurfWriter%20Help.

Table B-1  Help URLs

URL

Syntax

Action

help:anchor

help:anchor=anchor_name bookID=help_book_name

Opens Help Viewer to the location in a help book identified by the given anchor.

help://full/path.html

help://path/to/page.html

Opens the specified file in Help Viewer.

help:goto_helpcenter

help:goto_helpcenter=developer

Loads the Help Center in Help Viewer. There are two possible arguments to this URL: user and developer. These specify the user and developer help centers, respectively. In Mac OS X version 10.2 and later, this URL toggles the position of the Help Center drawer.

help:openbook

help:openbook=help_book_name

Opens the specified help book in Help Viewer.

help:runscript

help:runscript='elp_folder_name/subfolder/scriptname string='optional_string_parameter'

Runs the specified script. The string argument is an optional argument that is passed to the script.

help:search

help:search='search_string' bookID='help_book_name'

Initiates a search of a help book using the specified search criteria. Help Viewer then displays the search results.