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
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Save Web Page Inputs!