I am using a script to pull in the header information of an Outlook .MSG file. I am pulling back From:, To:, Date:, Subject. (See Script below). From this I am trying to make a Text Object conditionally show based on key words that might be present in the subject line. For example, if subject = "Good Morning" the text box will show.
// The first statement should create a table with three fields named @1, @2 and @3
From (txt, codepage is 1252, no labels, delimiter is '\t', msq, no eof);
// Here we filter out fields that are unrelated to those we want to keep
LOAD Subfield(@1, ': ', 1) as Header, Subfield(@1, ': ', 2) as Info