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
Application.MakeKeywordIndex
OverviewExamples
table Application.MakeKeywordIndex ( boolean SortPages = true )
De s cr ip t ion
Scans all pages in the project for keywords defined in each page's Keywords field and returns a table that is indexed by keyword.
P arame t er s
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. |
Re t u r n s
(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.