Does anyone know how to do the following in AppleScript:
Open a web browser
Select all the text in the current window/tab
Copy that to the clipboard
Paste the text into a plain text document
Save it to a file
The reason I need plain text is so that command-line programs like grep can read and parse it.
Open a web browser
Select all the text in the current window/tab
Copy that to the clipboard
Paste the text into a plain text document
Save it to a file
The reason I need plain text is so that command-line programs like grep can read and parse it.