AddKeyList

Adds a list of keywords or phrases that can be used for matching.

Syntax

bool AddKeyList (string KeyName, string KeyWord_01, string KeyWord_02, string KeyWord_03, string KeyWord_04, string KeyWord_05, string KeyWord_06, string KeyWord_07, string KeyWord_08, string KeyWord_09, string KeyWord_10, string KeyWord_11, string KeyWord_12, string KeyWord_13, string KeyWord_14, string KeyWord_15, string KeyWord_16, string KeyWord_17, string KeyWord_18, string KeyWord_19, string KeyWord_20, string KeyWord_21, string KeyWord_22, string KeyWord_23, string KeyWord_24, string KeyWord_25)

Parameters

  1. String value used as a reference name for other actions to call this list of keywords or phrases.
  2. Up to twenty five keywords or phrases to be used for matching.
Smart parameters are supported.

Returns

False if no keywords or phrases are entered. Otherwise, True.

Level

Any.

Details

Adds a list of keywords or phrases that can be used for matching.

This action complements the List search actions that can load a Keyword text file which contains a list of words or phrases, separated by new lines, that are used for matching.

AddKeyList adds a list of up to 25 words or phrases without having to read or edit a file.
Attention: You can not redefine or overwrite an existing key list
Example
AddKeyList("InvNum","Invoice Number","Inv. Num.","Invoice #:")
FindKeyList("InvNum")

This action searches the current page, from first word to the last word of the current page, for the first occurrence of all keywords in the Invoices Number Keyword list "InvNum".

If successful, the search stops and remembers the location of that word for subsequent actions.

If not successful, the action continues searching for the next keyword in the InvNum list, starting from first word of the current page, repeating this search pattern until a match is found, or until there are no more keywords.