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:
Follow these steps.
- Install package - Word Activities
- Use activity
Read Text Fileto read text file. This will read the text data tostringvariable - Use Append Text activity to write text from .txt file to Word file inside Word application scope activity
- 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.
- Then use Export to PDF activity which will give you a pdf file
Thanks,
Ashok ![]()