A JavaScript function called getNewHtml() determines what the html of a file would be, if the user's inputs were hard-coded into the html. The function then returns a string of characters with this information.
An AppleScript called replaceHtml.scpt calls getNewHtml(), and sets string_to_write to the content of an .html file. The AppleScript then write the string to a TextWrangler file.
This is a first rough draft of the JavaScript and AppleScript, but both work now.
Follow Save Web Page Inputs
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Save Web Page Inputs!