Can I programmatically put the contents of a webpage into a Word file?
To complicate this even further, I would like to take these steps in Java (using JNI if necessary).
Here are the steps I want to do programmatically, and then the following methods, which I would do today manually:
- Provide a method with a URL (manually: open a page in Firefox)
- Copy the contents of this URL (manually: Ctrl-A to select all)
- Create a new Word document (manually: open Microsoft Word)
- Paste the contents of the URL into Word (manually: Ctrl-V to paste)
- Save Word File (Manual: Save Word File)
source
share