Arbortext Command Language > Hooks > formatcompletehook
  
formatcompletehook
formatcompletehook
 
Function prototype:
hook (pageno)
Synopsis
Use with:
add_hook(hookname, func[, prepend])
remove_hook(hookname, func)
where hookname is formatcompletehook.
This hook is called when document formatting completes after print or preview processing, if any, has been initiated.
* 
This hook must not launch a modal dialog box (for instance, by using the response function). Problems may result if the -wait modifier is used with a formatting command.
Argument
pageno is the ordinal page number of the last page formatted.