Highlight section of .txt document and save as PDF

We are trying to take a .txt file and hightlight a certain section of the file based on a header and then save that selection as a PDF file. Is this possible?

Hi!

See this thread:

@karen.c.stewart4.civ,

Follow these steps.

  1. Install package - Word Activities
  2. Use activity Read Text File to read text file. This will read the text data to string variable
  3. Use Append Text activity to write text from .txt file to Word file inside Word application scope activity
  4. Highlight the Text: You could use send hotkey activity with “ctrl+f” to find text and then another shortcut or click activity to change text color.
  5. Then use Export to PDF activity which will give you a pdf file

Thanks,
Ashok :slight_smile: