Application.MakeKeywordIndex

table Application.MakeKeywordIndex ( 

boolean SortPages = true )

Description

Scans all pages in the project for keywords defined in each page's Keywords field and returns a table that is indexed by keyword.

Parameters

SortPages

(boolean) Whether to sort the list of pages where each keyword is found, or keep the pages in the same order as in the project.

VALUE

DESCRIPTION

true

Sort the pages. (Default)

false

Don't sort the pages.

Returns

(table)  A table indexed by unique keywords. The value of each entry is a (one-based) numerically indexed table of pages that the keyword is found on. If no keywords were found, nil is returned.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions