AutoPlay Media Studio 9

Application.SearchKeywords

Application.SearchKeywords

This is the first topic This is the last topic  

Application.SearchKeywords

This is the first topic This is the last topic  

OverviewExamples

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


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us