Is it possible to programmatically place the contents of a web page into a Word file?
To further complicate this, I'd like to do these steps in Java (using JNI if I must).
Here are the steps I want to do programmatically, followed by ways that I would do this manually today:
- Provide a method with a URL (Manually: Open page in Firefox)
- Copy the contents of that 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 the Word file (Manually: Save the Word file)