Application.SearchKeywords

table Application.SearchKeywords ( 

string  SearchFor,

boolean AllowPartialMatch = true,

boolean CaseSensitive = true )

Example 1

tbSearchResults = Application.SearchKeywords("target", true, true);

if (tbSearchResults) then
    strTempString = "";
    for page_index, page_table in pairs(tbSearchResults) do
        for key_index, key_value in pairs(page_table) do
            strTempString = strTempString .. page_index.." - "..key_index..": "..key_value.."\r\n";
        end
    end

    Dialog.Message("Search Results", strTempString);
end

Searches all keywords in all pages in the project for the keyword "target" and shows all locations it was found in a dialog message.

See also:  Related Actions